Skip to content

Commit 00f8616

Browse files
committed
Pin Travis to Node v9 to avoid v10 failures
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 slevithan#241 (comment)
1 parent 956747f commit 00f8616

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
language: node_js
22
node_js:
3-
- node
3+
- 9
44
script:
55
- npm test
66
- '[ -z "$SAUCE_USERNAME" ] || [ -z "$SAUCE_ACCESS_KEY" ] || npm run test-saucelabs'

0 commit comments

Comments
 (0)