Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
41 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,11 @@ | ||
language: node_js | ||
version: ~> 1.0 | ||
|
||
services: | ||
- docker | ||
|
||
node_js: | ||
- 12 | ||
- 10.13 | ||
|
||
# Trigger a push build on release 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 | ||
- next | ||
- beta | ||
- /^\d+\.(\d+|x)(\.x)?$/ | ||
- /^greenkeeper.*$/ | ||
|
||
# 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: | ||
- npm run codecov | ||
|
||
jobs: | ||
include: | ||
- stage: release | ||
node_js: lts/* | ||
script: | ||
- npm run semantic-release | ||
import: | ||
- .travis/node.yml | ||
- .travis/node-versions.yml | ||
- .travis/semantic-release.yml | ||
- .travis/greenkeeper.yml | ||
- .travis/codecov.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
after_success: | ||
- npm run codecov |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
branches: | ||
only: | ||
- /^greenkeeper.*$/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
node_js: | ||
- 12 | ||
- 10.13 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
language: node_js | ||
|
||
cache: | ||
npm: false | ||
|
||
# Retry install on fail to avoid failing a build on network/disk/external errors | ||
install: | ||
- travis_retry npm install | ||
|
||
script: | ||
- npm run test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
branches: | ||
only: | ||
- master | ||
- next | ||
- beta | ||
- /^\d+\.(\d+|x)(\.x)?$/ | ||
|
||
jobs: | ||
include: | ||
- stage: release | ||
node_js: lts/* | ||
install: | ||
- travis_retry npm install | ||
script: | ||
- npm run semantic-release |