Merge branch 'master' into beta

This commit is contained in:
Pierre Vanduynslager 2019-12-05 15:42:03 -05:00
commit c16fcc9d15
No known key found for this signature in database
GPG Key ID: E7684268B8C7E0A3
6 changed files with 41 additions and 31 deletions

View File

@ -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

2
.travis/codecov.yml Normal file
View File

@ -0,0 +1,2 @@
after_success:
- npm run codecov

3
.travis/greenkeeper.yml Normal file
View File

@ -0,0 +1,3 @@
branches:
only:
- /^greenkeeper.*$/

View File

@ -0,0 +1,3 @@
node_js:
- 12
- 10.13

11
.travis/node.yml Normal file
View File

@ -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

View File

@ -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