Skip to content

Commit

Permalink
Simplify the Travis CI setup
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielRuf committed Nov 2, 2019
1 parent 51ce10f commit 3ef7204
Showing 1 changed file with 6 additions and 22 deletions.
28 changes: 6 additions & 22 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,14 @@
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libstdc++-4.9-dev

language: generic
language: node_js

matrix:
fast_finish: true

env:
matrix:
- NODEJS_VER=node/6
- NODEJS_VER=node/8
- NODEJS_VER=node/10
- NODEJS_VER=node/latest

before_install:
- git clone --branch v1.4.2 --depth 1 https://github.com/jasongin/nvs.git ~/.nvs
- . ~/.nvs/nvs.sh
- nvs --version
node_js:
- "10"
- "12"
- "node"

install:
- nvs add $NODEJS_VER
- nvs use $NODEJS_VER
- node --version
- npm --version --no-update-notifier
- npm install --no-optional --no-save --no-update-notifier
Expand All @@ -33,4 +17,4 @@ script:
- npm test --no-update-notifier

notifications:
email: false
email: false

0 comments on commit 3ef7204

Please sign in to comment.