Skip to content

Commit bfffac3

Browse files
authored
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
1 parent 2434dfd commit bfffac3

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

.travis.yml

+13-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
1-
sudo: required
2-
dist: trusty
3-
language: node_js
4-
node_js:
5-
- "6"
1+
dist: bionic
2+
language: java
3+
jdk:
4+
- openjdk8
5+
env:
6+
- NODE_VERSION="10"
7+
- NODE_VERSION="14"
8+
install:
9+
- nvm install "$NODE_VERSION"
10+
- npm install
11+
script:
12+
- nvm use "$NODE_VERSION"
13+
- npm test

0 commit comments

Comments
 (0)