Skip to content

Commit

Permalink
Add node 8 check
Browse files Browse the repository at this point in the history
  • Loading branch information
gyandeeps committed Jul 3, 2017
1 parent cce1017 commit 675cb42
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ branches:
- master

# Run npm test always
# Run npm docs only when its the master branch build
# Run npm docs only when its the master branch build and node 8
script:
- "npm test"
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" && "$TRAVIS_BRANCH" = "master" ]; then npm run docs; fi'
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" && "$TRAVIS_BRANCH" = "master" && "$node_js" = "8" ]; then npm run docs; fi'
after_success:
- npm run coveralls
- 'if [ "$node_js" = "8" ]; then npm run coveralls; fi'
addons:
code_climate:
repo_token: 1945f7420d920a59f1ff8bf8d1a7b60ccd9e2838a692f73a5a74accd8df30146

0 comments on commit 675cb42

Please sign in to comment.