Skip to content

Commit

Permalink
Simplified the CI script while also including more Node.js versions
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesMessinger committed Feb 14, 2019
1 parent 51983eb commit b070d1c
Showing 1 changed file with 10 additions and 17 deletions.
27 changes: 10 additions & 17 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,16 @@

filter_secrets: false
language: node_js
node_js: 10

node_js:
- 10
- 8
- 6

os:
- linux
- osx
- windows

before_script:
# Link the package to itself (so Karma and Mocha can find it)
Expand All @@ -24,22 +33,6 @@ after_success:

jobs:
include:
- name: Linux
os: linux
addons:
firefox: latest
chrome: stable

- name: MacOS
os: osx
addons:
firefox: latest
chrome: stable

- name: Windows via SauceLabs
os: linux
env: KARMA_PLATFORM=win32

- stage: Deploy
name: Publish to npm
script: npm run build
Expand Down

0 comments on commit b070d1c

Please sign in to comment.