X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=.travis.yml;h=d2c1fdb863419da08203b8ac642676ed5cef6a72;hb=79405d1bc30c868cdf2c4bfb3abe654d28aeb5ca;hp=15c7ce79c496400c61d8f88c21b33073e8ea7768;hpb=3c176a6f616225c65d576881c9bbd2f5e8002e59;p=github%2Ffretlink%2Ftime-picker.git diff --git a/.travis.yml b/.travis.yml index 15c7ce7..d2c1fdb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,11 +1,13 @@ language: node_js +sudo: false + notifications: email: - yiminghe@gmail.com node_js: -- 4.0.0 +- 6 before_install: - | @@ -14,9 +16,8 @@ before_install: echo "Only docs were updated, stopping build process." exit fi - npm install mocha-phantomjs -g + npm install npm@3.x -g phantomjs --version - script: - | if [ "$TEST_TYPE" = test ]; then @@ -24,9 +25,8 @@ script: else npm run $TEST_TYPE fi - env: matrix: - TEST_TYPE=lint - - TEST_TYPE=browser-test - - TEST_TYPE=browser-test-cover + - TEST_TYPE=test + - TEST_TYPE=coverage