Skip to content

Commit fe148e4

Browse files
committed
add citest-jasmine npm script, use it circle test
1 parent d59eea9 commit fe148e4

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

circle.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,4 @@ test:
2323
override:
2424
- docker run -d --name myimageserver -v $PWD:/var/www/streambed/image_server/plotly.js -p 9010:9010 plotly/imageserver:0.2.1; sleep 10
2525
- sudo lxc-attach -n "$(docker inspect --format '{{.Id}}' myimageserver)" -- bash -c "cd /var/www/streambed/image_server/plotly.js && node test/image/compare_pixels_test.js"
26+
- npm run citest-jasmine

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
"watch": "node tasks/watch_plotly.js",
5151
"lint": "cd src && jshint . || true",
5252
"test-jasmine": "karma start test/jasmine/karma.conf.js",
53+
"citest-jasmine": "karma start test/jasmine/karma.ciconf.js",
5354
"test-image": "./tasks/test_image.sh",
5455
"test": "npm run test-jasmine && npm test-image",
5556
"start-test_dashboard": "node devtools/test_dashboard/server.js",

0 commit comments

Comments
 (0)