diff options
author | afc163 <afc163@gmail.com> | 2016-11-11 12:10:26 +0800 |
---|---|---|
committer | afc163 <afc163@gmail.com> | 2016-11-11 12:10:26 +0800 |
commit | 614f6c90232d890984d0f4f2f13ff41fdb144b27 (patch) | |
tree | ce1a9be06b3264fd9fc09b3c2b028646db03a322 /.travis.yml | |
parent | cb5a445c75c7117c7c705d615099086274c2b254 (diff) | |
parent | f429b4a79df25c9eadc3901e2483716835cc7de7 (diff) | |
download | time-picker-614f6c90232d890984d0f4f2f13ff41fdb144b27.tar.gz time-picker-614f6c90232d890984d0f4f2f13ff41fdb144b27.tar.zst time-picker-614f6c90232d890984d0f4f2f13ff41fdb144b27.zip |
Merge branch 'master' of github.com:react-component/time-picker
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 |