Skip to content

Commit

Permalink
build: support Node.js 10.x
Browse files Browse the repository at this point in the history
  • Loading branch information
dougwilson committed Jun 9, 2018
1 parent fcad676 commit aba11a6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ node_js:
- "7.10"
- "8.11"
- "9.11"
- "10.4"
sudo: false
cache:
directories:
Expand Down
5 changes: 4 additions & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,13 @@ environment:
- nodejs_version: "7.10"
- nodejs_version: "8.11"
- nodejs_version: "9.11"
- nodejs_version: "10.4"
cache:
- node_modules
install:
- ps: Install-Product node $env:nodejs_version
- ps: >-
try { Install-Product node $env:nodejs_version -ErrorAction Stop }
catch { Update-NodeJsInstallation (Get-NodeJsLatestBuild $env:nodejs_version) }
- npm config set shrinkwrap false
- if "%nodejs_version%" equ "0.8" npm config set strict-ssl false
- if "%nodejs_version%" equ "0.8" npm rm --save-dev istanbul
Expand Down
2 changes: 1 addition & 1 deletion test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ describe('serveIndex(root)', function () {
})

it('should treat an ENAMETOOLONG as a 414', function (done) {
var path = Array(11000).join('foobar')
var path = Array(1300).join('foobar')
var server = createServer()

request(server)
Expand Down

0 comments on commit aba11a6

Please sign in to comment.