Skip to content

Commit

Permalink
chore: Add comments on .travis.yml
Browse files Browse the repository at this point in the history
Fix #11
  • Loading branch information
pvdlg committed Sep 18, 2017
1 parent 91c125f commit e8f3be8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,25 @@
language: node_js
node_js:
- 8

# Trigger a push build on master and greenkeeper branches + PRs build on every branches
# Avoid double build on PRs (See https://github.com/travis-ci/travis-ci/issues/1147)
branches:
only:
- master
- /^greenkeeper.*$/

# Retrieve 999 commits (default is 50) so semantic-release can analyze all commits when there is more than 50 on a PR
git:
depth: 999

# Retry install on fail to avoid failing a build on network/disk/external errors
install:
- travis_retry npm install

script:
- npm run test

after_success:
- if [ -n "${CODECOV_TOKEN:-}" ]; then npm run codecov; fi
- npm run coverage
Expand Down

0 comments on commit e8f3be8

Please sign in to comment.