Skip to content

Commit

Permalink
Merge pull request #24 from snyk/feat/improve-test-matrix
Browse files Browse the repository at this point in the history
feat: Update test matrix
  • Loading branch information
lili2311 authored May 2, 2019
2 parents 6756d73 + 70deef1 commit ccf3b62
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,28 @@ node_js:
- "10"
- "8"
- "6"
jdk:
- oraclejdk9
- openjdk8
env:
- MAVEN_VERSION=3.6.1 JAVA_VERSION=openjdk8
- MAVEN_VERSION=3.6.1 JAVA_VERSION=oraclejdk9

- MAVEN_VERSION=3.3.9 JAVA_VERSION=oraclejdk9
- MAVEN_VERSION=3.3.9 JAVA_VERSION=openjdk8

before_install:
# sdkman helps to install different gradle versions
- curl -s "https://get.sdkman.io" | bash
- source "$HOME/.sdkman/bin/sdkman-init.sh"
- echo sdkman_auto_answer=true > ~/.sdkman/etc/config
cache:
directories:
- node_modules
script:
- jdk_switcher use $JAVA_VERSION
- sdk install maven $MAVEN_VERSION
- npm test
jobs:
include:
- stage: npm release
Expand Down

0 comments on commit ccf3b62

Please sign in to comment.