]> source.dussan.org Git - jquery-ui.git/commitdiff
Travis: Use Node 10, remove obsolete properties
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>
Wed, 14 Oct 2020 21:45:19 +0000 (23:45 +0200)
committerGitHub <noreply@github.com>
Wed, 14 Oct 2020 21:45:19 +0000 (23:45 +0200)
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

index ec9bb0c8b80f784efc949b054d4e26913b6bbe78..988af22d76afc930c026775276c595ce96d9ed3e 100644 (file)
@@ -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