Skip to content

Commit

Permalink
Update node versions (#174)
Browse files Browse the repository at this point in the history
* Update node versions

Drop node v4-7 and add v10, 12, 13, 14

* Fix allow_failures matrix

Versions 12-14 are flagged as `allow_failures`, as that will require a bit more work to fix.
  • Loading branch information
gcochard committed Oct 25, 2019
1 parent 22a61da commit 1cc51fe
Showing 1 changed file with 9 additions and 22 deletions.
31 changes: 9 additions & 22 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,18 @@
language: node_js

node_js:
- 4
- 5
- 6
- 7
- 8
- 10
- 12
- 13
- 14

matrix:
allow_failures:
- node_js: 8

# to use native modules in node 4+, need to add clang or use trusty: https://docs.travis-ci.com/user/languages/javascript-with-nodejs#Node.js-v4-(or-io.js-v3)-compiler-requirements
#sudo: false
#compiler: clang-3.6
#env:
# - CXX=clang-3.6
#addons:
# apt:
# sources:
# - llvm-toolchain-precise-3.6
# - ubuntu-toolchain-r-test
# packages:
# - clang-3.6
# - g++-4.8
sudo: required
dist: trusty
- node_js: 12
- node_js: 13
- node_js: 14


branches:
except:
Expand All @@ -39,7 +26,7 @@ script:
- npm run lint && npm test

after_script:
- if [[ `node --version` == *v4* ]]; then cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js; fi
- if [[ `node --version` == *v8* ]]; then cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js; fi

cache:
directories:
Expand Down

0 comments on commit 1cc51fe

Please sign in to comment.