aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2020-10-14 23:45:19 +0200
committerGitHub <noreply@github.com>2020-10-14 23:45:19 +0200
commitbfffac3fd5e3d5ce43070f9437d43005fc5eaeb2 (patch)
tree2be62fa2e906a4c4512b0ea89f47b795da98e9e4
parent2434dfd45d0805304e1db634d059feaa0bacf358 (diff)
downloadjquery-ui-bfffac3fd5e3d5ce43070f9437d43005fc5eaeb2.tar.gz
jquery-ui-bfffac3fd5e3d5ce43070f9437d43005fc5eaeb2.zip
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
-rw-r--r--.travis.yml18
1 files 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