Permalink
Browse files

Pin Travis to Node v9 to avoid v10 failures (#242)

v10 fails currently: https://travis-ci.org/slevithan/xregexp/builds/370310563#L510-L528

```
Failures:
1) XRegExp() supports new regex syntax: named capture should throw an exception if characters other than A-Z, a-z, 0-9, $, and _ are used in capture names
  Message:
    Expected function to throw an Error.
  Stack:
    Error: Expected function to throw an Error.
        at UserContext.<anonymous> (/home/travis/build/slevithan/xregexp/tests/spec/s-xregexp.js:407:61)
  Message:
    Expected function to throw an Error.
  Stack:
    Error: Expected function to throw an Error.
        at UserContext.<anonymous> (/home/travis/build/slevithan/xregexp/tests/spec/s-xregexp.js:408:63)
  Message:
    Expected function to throw an Error.
  Stack:
    Error: Expected function to throw an Error.
        at UserContext.<anonymous> (/home/travis/build/slevithan/xregexp/tests/spec/s-xregexp.js:409:59)

398 specs, 1 failure
```

See also #241 (comment)
  • Loading branch information...
josephfrazier committed Apr 26, 2018
1 parent 956747f commit 1050835ccb31fc370373994a1b09026bdc29b39b
Showing with 1 addition and 1 deletion.
  1. +1 −1 .travis.yml
View
@@ -1,6 +1,6 @@
language: node_js
node_js:
- node
- 9
script:
- npm test
- '[ -z "$SAUCE_USERNAME" ] || [ -z "$SAUCE_ACCESS_KEY" ] || npm run test-saucelabs'

0 comments on commit 1050835

Please sign in to comment.