We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91c125f commit 1a64f07Copy full SHA for 1a64f07
.travis.yml
@@ -1,16 +1,25 @@
1
language: node_js
2
node_js:
3
- 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)
7
branches:
8
only:
9
- master
10
- /^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
13
git:
14
depth: 999
15
16
+# Retry install on fail to avoid failing a build on network/disk/external errors
17
install:
18
- travis_retry npm install
19
20
script:
21
- npm run test
22
23
after_success:
24
- if [ -n "${CODECOV_TOKEN:-}" ]; then npm run codecov; fi
25
- npm run coverage
0 commit comments