-
-
Notifications
You must be signed in to change notification settings - Fork 316
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: update .travis.yml to avoid stages and include nightly
- Loading branch information
Showing
1 changed file
with
25 additions
and
15 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,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 |