Skip to content

Commit

Permalink
Merge 675cb42 into 676af9e
Browse files Browse the repository at this point in the history
  • Loading branch information
gyandeeps committed Jul 3, 2017
2 parents 676af9e + 675cb42 commit 8474549
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .travis.yml
Expand Up @@ -6,9 +6,17 @@ 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 and node 8
script:
- "npm test"
- '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
4 changes: 4 additions & 0 deletions appveyor.yml
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 8474549

Please sign in to comment.