forked from aksonov/react-native-router-flux
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcircle.yml
More file actions
29 lines (28 loc) · 637 Bytes
/
circle.yml
File metadata and controls
29 lines (28 loc) · 637 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
machine:
node:
version: 7
dependencies:
override:
- npm install
- ? |
case $CIRCLE_NODE_INDEX in
2)
cd Example
npm install
;;
esac
:
parallel: true
test:
override:
- ? |
case $CIRCLE_NODE_INDEX in
0)
node node_modules/eslint/bin/eslint index.js src/ test/ -o $CIRCLE_TEST_REPORTS/eslint/eslint.xml -f junit
;;
1)
MOCHA_FILE=$CIRCLE_TEST_REPORTS/mocha/junit.xml npm test -- --reporter mocha-junit-reporter
;;
esac
:
parallel: true