diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml index 15c7ce7..e780b32 100644 --- a/.travis.yml +++ b/.travis.yml | |||
@@ -1,5 +1,7 @@ | |||
1 | language: node_js | 1 | language: node_js |
2 | 2 | ||
3 | sudo: false | ||
4 | |||
3 | notifications: | 5 | notifications: |
4 | email: | 6 | email: |
5 | - yiminghe@gmail.com | 7 | - yiminghe@gmail.com |
@@ -14,9 +16,8 @@ before_install: | |||
14 | echo "Only docs were updated, stopping build process." | 16 | echo "Only docs were updated, stopping build process." |
15 | exit | 17 | exit |
16 | fi | 18 | fi |
17 | npm install mocha-phantomjs -g | 19 | npm install npm@3.x -g |
18 | phantomjs --version | 20 | phantomjs --version |
19 | |||
20 | script: | 21 | script: |
21 | - | | 22 | - | |
22 | if [ "$TEST_TYPE" = test ]; then | 23 | if [ "$TEST_TYPE" = test ]; then |
@@ -24,9 +25,8 @@ script: | |||
24 | else | 25 | else |
25 | npm run $TEST_TYPE | 26 | npm run $TEST_TYPE |
26 | fi | 27 | fi |
27 | |||
28 | env: | 28 | env: |
29 | matrix: | 29 | matrix: |
30 | - TEST_TYPE=lint | 30 | - TEST_TYPE=lint |
31 | - TEST_TYPE=browser-test | 31 | - TEST_TYPE=test |
32 | - TEST_TYPE=browser-test-cover | 32 | - TEST_TYPE=coverage |