mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-06 18:45:23 +00:00
d863c3e5f4
Add travis.yml to test java6 option, update Java (Jersey2) dependencies
30 lines
545 B
Plaintext
30 lines
545 B
Plaintext
dist: trusty
|
|
sudo: required
|
|
language: java
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- openjdk-6-jdk
|
|
jdk: openjdk6
|
|
|
|
cache:
|
|
directories:
|
|
- $HOME/.m2
|
|
- $HOME/.ivy2
|
|
- $HOME/.gradle/caches/
|
|
- $HOME/.gradle/wrapper/
|
|
|
|
install:
|
|
- jdk_switcher use openjdk6
|
|
- java -version
|
|
- curl -s "https://get.sdkman.io" | bash
|
|
- source "$HOME/.sdkman/bin/sdkman-init.sh"
|
|
- sdk version
|
|
- sdk install gradle 2.9
|
|
- sdk list gradle
|
|
- sdk version
|
|
- gradle --version
|
|
|
|
script:
|
|
- cd samples/client/petstore/java/jersey2-java6 && gradle test
|