forked from mddub/urchin-cgm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcircle.yml
30 lines (28 loc) · 824 Bytes
/
circle.yml
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
30
machine:
node:
version: 0.12.0
environment:
PEBBLE_TOOL: 4.3
PEBBLE_SDK: 3.14
dependencies:
pre:
- . test/ensure-pebble-test-environment.sh
override:
- cd test/js; npm install
cache_directories:
- ~/.pebble-sdk
- ~/pebble-dev
- ~/imagemagick
test:
pre:
- mkdir -p $CIRCLE_TEST_REPORTS/js-unit-tests
- mkdir -p $CIRCLE_TEST_REPORTS/screenshots
override:
- cd test/js; node_modules/.bin/mocha test*.js --reporter mocha-jenkins-reporter:
environment:
JUNIT_REPORT_PATH: $CIRCLE_TEST_REPORTS/js-unit-tests/junit.xml
JUNIT_STACK: 1
- . ~/pebble-dev/path.sh; pebble build
- . ~/pebble-dev/path.sh; . test/do_screenshots.sh --junitxml=$CIRCLE_TEST_REPORTS/screenshots/junit.xml
post:
- cp -r test/output $CIRCLE_ARTIFACTS/output