Skip to content

Commit 1a64f07

Browse files
pvdlggr2m
authored andcommitted
chore: Add comments on .travis.yml
Fix #11
1 parent 91c125f commit 1a64f07

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.travis.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,25 @@
11
language: node_js
22
node_js:
33
- 8
4+
5+
# Trigger a push build on master and greenkeeper branches + PRs build on every branches
6+
# Avoid double build on PRs (See https://github.com/travis-ci/travis-ci/issues/1147)
47
branches:
58
only:
69
- master
710
- /^greenkeeper.*$/
11+
12+
# Retrieve 999 commits (default is 50) so semantic-release can analyze all commits when there is more than 50 on a PR
813
git:
914
depth: 999
15+
16+
# Retry install on fail to avoid failing a build on network/disk/external errors
1017
install:
1118
- travis_retry npm install
19+
1220
script:
1321
- npm run test
22+
1423
after_success:
1524
- if [ -n "${CODECOV_TOKEN:-}" ]; then npm run codecov; fi
1625
- npm run coverage

0 commit comments

Comments
 (0)