Commit 4d2a9b6 1 parent cded78a commit 4d2a9b6 Copy full SHA for 4d2a9b6
File tree 2 files changed +6
-3
lines changed
2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change
1
+ .vscode
2
+
1
3
node_modules /
4
+ docs /_build
Original file line number Diff line number Diff line change @@ -2,12 +2,12 @@ language: node_js
2
2
node_js : " 8"
3
3
install : " npm install"
4
4
script :
5
- - ' if [ "$TRAVIS_PULL_REQUEST" = "true" ]; then npm run test; fi '
6
- - ' if [ "$TRAVIS_PULL_REQUEST " = "false" ]; then npm run docs; fi'
5
+ - npm run test'
6
+ - ' if [ "$TRAVIS_BRANCH " == "master" ] && [ "$TRAVIS_PULL_REQUEST" = false ]; then npm run docs; fi'
7
7
dist : trusty
8
8
sudo : false
9
9
cache :
10
10
directories :
11
11
- " node_modules"
12
12
after_success :
13
- - ' if [ "$TRAVIS_PULL_REQUEST " = "false" ]; then sh .travis-push.sh; fi'
13
+ - ' if [ "$TRAVIS_BRANCH " == "master" ] && [ "$TRAVIS_PULL_REQUEST" = false ]; then sh .travis-push.sh; fi'
You can’t perform that action at this time.
0 commit comments