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
This commit is contained in:
Michał Gołębiowski-Owczarek 2020-10-14 23:45:19 +02:00 committed by GitHub
parent 2434dfd45d
commit bfffac3fd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View 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