From 7d2ceac61a15c665a34821b2c4db1846354da6a3 Mon Sep 17 00:00:00 2001 From: Andrew Armbruster Date: Tue, 28 Feb 2023 20:21:10 +0100 Subject: [PATCH 1/3] Travis uses latest Node LTS Update CI config to use the most recent LTS. For some other possible values, see: https://docs.travis-ci.com/user/languages/javascript-with-nodejs/#specifying-nodejs-versions --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index b3cc86c6..aef517ab 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ language: node_js sudo: false node_js: - - "16.14.2" + - lts/* before_install: - npm install -g grunt-cli From 5c12e1ce1c952d6f9b63203fb12ae7a9b224400b Mon Sep 17 00:00:00 2001 From: Andrew Armbruster Date: Tue, 28 Feb 2023 21:04:22 +0100 Subject: [PATCH 2/3] Use newer runner version Request a newer runner version from Travis CI due to a glibc version bump in newer versions of Node. --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index aef517ab..da57d810 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,7 @@ +# Specify dist until Travis CI default Runner OS updates to one +# with glibc version required by newer Node versions +# See: https://github.com/nodejs/node/issues/42351#issuecomment-1068424442 +dist: focal language: node_js sudo: false node_js: From 2764e3ad9a557f9dfd7255e56cba28875676bc8d Mon Sep 17 00:00:00 2001 From: Andrew Armbruster Date: Tue, 28 Feb 2023 21:16:41 +0100 Subject: [PATCH 3/3] Try an even newer build env This would buy even more time to find an alternative to pinning the runner version. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index da57d810..c6fffb1e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,7 @@ # Specify dist until Travis CI default Runner OS updates to one # with glibc version required by newer Node versions # See: https://github.com/nodejs/node/issues/42351#issuecomment-1068424442 -dist: focal +dist: jammy language: node_js sudo: false node_js: