forked from plotly/plotly.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
29 lines (26 loc) · 884 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
general:
artifacts:
- "build/test_images/"
- "build/test_images_diff/"
machine:
node:
version: 4.2.1
services:
- docker
dependencies:
pre:
- docker pull plotly/testbed:latest
post:
- npm run cibuild
- npm run pretest
- docker run -d --name mytestbed -v $PWD:/var/www/streambed/image_server/plotly.js -p 9010:9010 plotly/testbed:latest
- sudo ./tasks/run_in_testbed.sh mytestbed "cp -f test/image/index.html ../server_app/index.html"
- wget --server-response --spider --tries=8 --retry-connrefused http://localhost:9010/ping
test:
override:
- sudo ./tasks/run_in_testbed.sh mytestbed "export CIRCLECI=1 && node test/image/compare_pixels_test.js"
- sudo ./tasks/run_in_testbed.sh mytestbed "node test/image/export_test.js"
- npm run citest-jasmine
- npm run test-bundle
- npm run test-syntax
- eslint .