diff options
author | yiminghe <yiminghe@gmail.com> | 2016-08-04 19:53:55 +0800 |
---|---|---|
committer | yiminghe <yiminghe@gmail.com> | 2016-08-04 19:53:55 +0800 |
commit | 4984ed85e54f442998a335db70618d6184fa397e (patch) | |
tree | 6ae348b2cac5f48f3afb6f7b8dd0c2fd02f044fc /.travis.yml | |
parent | deaa6062ea2e274d50d58c70251c1237c0c03c67 (diff) | |
download | time-picker-4984ed85e54f442998a335db70618d6184fa397e.tar.gz time-picker-4984ed85e54f442998a335db70618d6184fa397e.tar.zst time-picker-4984ed85e54f442998a335db70618d6184fa397e.zip |
2.x :boom:2.0.0
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 |