Skip to content

Commit

Permalink
Allow tests to fail on latest node version
Browse files Browse the repository at this point in the history
I'm not sure this works or if you have to specify an exact version
for "allow_failures". Anyway, this is just a temporary fix until #24 has
been solved.

Also cleaned up the version we test against:
* 5.x and 7.x removed as their EOL was at 2016-06-30
* 8.x is the current active LTS release

(see https://github.com/nodejs/Release)
  • Loading branch information
roback committed Feb 15, 2018
1 parent 209104f commit f7d0a5a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@ language: node_js
node_js:
- "0.12"
- 4 # latest 4.x release
- 5 # latest 5.x release
- 6 # latest 6.x release
- 7 # latest 7.x release
- 8 # latest 8.x release
- node # latest stable Node.js release
matrix:
allow_failures:
- node_js: node
sudo: false
notifications:
email: false
Expand Down

1 comment on commit f7d0a5a

@roback
Copy link
Member Author

@roback roback commented on f7d0a5a Feb 15, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure this works or if you have to specify an exact version for "allow_failures".

This worked!

Please sign in to comment.