From bfffac3fd5e3d5ce43070f9437d43005fc5eaeb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Go=C5=82=C4=99biowski-Owczarek?= Date: Wed, 14 Oct 2020 23:45:19 +0200 Subject: [PATCH] Travis: Use Node 10, remove obsolete properties Also, migrate to a Java build as we need JDK 8 and it's easier to install a specific Node.js version in a Java image than vice-versa. Closes gh-1938 --- .travis.yml | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index ec9bb0c8b..988af22d7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,13 @@ -sudo: required -dist: trusty -language: node_js -node_js: - - "6" +dist: bionic +language: java +jdk: + - openjdk8 +env: + - NODE_VERSION="10" + - NODE_VERSION="14" +install: + - nvm install "$NODE_VERSION" + - npm install +script: + - nvm use "$NODE_VERSION" + - npm test