[build][ci] misc config

This commit is contained in:
Salakar
2018-09-04 18:48:28 +01:00
parent 91a99cfd71
commit 244c021e00
3 changed files with 6 additions and 19 deletions

View File

@@ -83,10 +83,7 @@ aliases:
# eslint
- &eslint
name: Lint Code
command: |
mkdir -p ~/reports
./node_modules/.bin/eslint ./src/ --format junit --output-file ~/reports/eslint.xml
when: always
command: yarn run lint
# flow
- &validate-flow-declarations
@@ -159,10 +156,6 @@ jobs:
- run: *eslint
- run: *validate-flow-declarations
- run: *validate-ts-declarations
- store_test_results:
path: ~/reports
- store_artifacts:
path: ~/reports
jet-test-ios:
<<: *macos_defaults
@@ -209,7 +202,7 @@ jobs:
command: cd tests && yarn run build-ios
- save-cache: *save-ios-build-cache
- run: mkdir ~/reports
- run: mkdir ~/detox-artifacts
# Now Test \o/
- run:
@@ -222,9 +215,9 @@ jobs:
command: cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
- store_test_results:
path: ~/reports
path: ~/detox-artifacts
- store_artifacts:
path: ~/reports
path: ~/detox-artifacts
# -------------------------

View File

@@ -1,12 +1,6 @@
const detox = require('detox');
const config = require('../package.json').detox;
if (process.env.CIRCLECI) {
config['runner-config'] = 'e2e/mocha.ci.opts';
} else {
config['runner-config'] = 'e2e/mocha.local.opts';
}
before(async () => {
await detox.init(config);
// needs to be called before any usage of firestore

View File

@@ -1,7 +1,7 @@
--recursive
--timeout 120000
--reporter list
--slow 600
--reporter spec
--slow 1000
--bail
--exit
--require jet/platform/node