Skip to content

Commit

Permalink
ci: update .travis.yml to avoid stages and include nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
panva authored Mar 29, 2019
1 parent 2931981 commit 70b9446
Showing 1 changed file with 25 additions and 15 deletions.
40 changes: 25 additions & 15 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,30 @@
language: node_js
node_js:
- 11.8.0 # min
- stable
script: npm run coverage
after_script: npx codecov
jobs:
matrix:
allow_failures:
- name: "Test Suite - Nightly build"
include:
- stage: macOS
os: osx
- name: Linter
language: node_js
node_js: stable
script: npm run lint
- name: "Test Suite + coverage - 11.8.0" #min
language: node_js
node_js: 11.8.0
script: npm run coverage
after_script: npx codecov
- name: "Test Suite + coverage - stable"
language: node_js
node_js: stable
- stage: windows
os: windows
script: npm run coverage
after_script: npx codecov
- name: "Test Suite - Windows"
language: node_js
os: windows
script: npm test
node_js: node
- stage: Lint
script: npm run lint
node_js: node
after_script: skip
- name: "Test Suite - Nightly build"
language: minimal
env: NVM_NODEJS_ORG_MIRROR=https://nodejs.org/download/nightly/
install:
- nvm i node
- npm i
script: npm test

0 comments on commit 70b9446

Please sign in to comment.