Skip to content
This repository has been archived by the owner on Nov 4, 2022. It is now read-only.

Commit

Permalink
ci(travis): run tests for osx, linux, & windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Garant committed Feb 6, 2019
1 parent afa7336 commit 0790b99
Showing 1 changed file with 16 additions and 10 deletions.
26 changes: 16 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
language: node_js
sudo: false
node_js:
- '6'
- '8'
- 'lts/*'
- 'node'
os:
- linux
- osx
env:
- FORCE_COLOR=true
env: FORCE_COLOR=true

# Trigger a push build on master and greenkeeper branches + PRs build on every branches
# Avoid double build on PRs (See https:/travis-ci/travis-ci/issues/1147)
Expand All @@ -26,6 +17,21 @@ script:

jobs:
include:
- stage: test
node_js: '6'
os: osx
- node_js: '8'
os: osx
- os: linux
node_js: 'lts/*'
# uncomment in the future when this is fixed: https://travis-ci.community/t/node-js-build-fails-with-no-obvious-error/961/8
#- os: windows
# node_js: 'lts/*'
- os: osx
node_js: 'lts/*'
# latest version of node
- node_js: 'node'
os: osx
- stage: release
node_js: lts/*
script:
Expand Down

0 comments on commit 0790b99

Please sign in to comment.