]> git.immae.eu Git - github/fretlink/time-picker.git/blobdiff - .travis.yml
Added am/pm switching test
[github/fretlink/time-picker.git] / .travis.yml
index 15c7ce79c496400c61d8f88c21b33073e8ea7768..d2c1fdb863419da08203b8ac642676ed5cef6a72 100644 (file)
@@ -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