Skip to content

Commit df92e65

Browse files
committed
Travis: base linux build on jammy (22.04), macOS build on 12.1
Default linux release is 16.04 (https://docs.travis-ci.com/user/reference/linux), which is not compatible with Node.js 18.x.x (current stable version). Default macOS release is 10.13 (https://docs.travis-ci.com/user/reference/osx), which is not compatible with Node.js 18.x.x (current stable version). https://nodejs.org/en/blog/release/v18.0.0#header-toolchain-and-compiler-upgrades.
1 parent 4de8d6e commit df92e65

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ os:
99
- linux
1010
- osx
1111
# windows - removed 'cos travis have made non-backward-compatible move to nvs on windows (travis-ci.community/t/12393) - sigh!
12+
dist: jammy # as of Sep 2022 travis defaults Linux to xenial, which is incompatible with node.js 18.x.x
13+
osx_image: xcode13.2 # as of Sep 2022 travis defaults macOS to 10.13, which is incompatible with node.js 18.x.x
1214

1315
after_success:
1416
- c8 -r text-lcov npm test | coveralls

0 commit comments

Comments
 (0)