Skip to content

Commit

Permalink
Build: Turnoff CI branch build (fixes #8804)
Browse files Browse the repository at this point in the history
  • Loading branch information
gyandeeps committed Jul 3, 2017
1 parent 676af9e commit cce1017
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,15 @@ node_js:
- "7"
- "8"
sudo: false
script: "npm test && npm run docs"
branches:
only:
- master

# Run npm test always
# Run npm docs only when its the master branch build
script:
- "npm test"
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" && "$TRAVIS_BRANCH" = "master" ]; then npm run docs; fi'
after_success:
- npm run coveralls
addons:
Expand Down
4 changes: 4 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ environment:
matrix:
- nodejs_version: 4

branches:
only:
- master

install:
# Get the latest stable version of Node.js
- ps: Install-Product node $env:nodejs_version
Expand Down

0 comments on commit cce1017

Please sign in to comment.