jjwt/.travis.yml

24 lines
708 B
YAML
Raw Normal View History

2014-09-19 14:58:24 -04:00
# https://travis-ci.org/jwtk/jjwt
2017-05-13 11:55:00 -04:00
#sudo: required
2014-09-19 14:58:24 -04:00
language: java
jdk:
- openjdk7
- oraclejdk8
# - oraclejdk9
# - oraclejdk10
# - openjdk10
# - openjdk11
# - oraclejdk-ea
2014-09-19 14:58:24 -04:00
before_install:
- export BUILD_COVERAGE="$([ $TRAVIS_JDK_VERSION == 'oraclejdk8' ] && echo 'true')"
# - if [[ "$TRAVIS_JDK_VERSION" != 'openjdk7' && "$TRAVIS_JDK_VERSION" != 'oraclejdk8' ]]; then export MAVEN_OPTS='--add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED'; fi;
2017-05-13 11:55:00 -04:00
install: true
2017-05-13 11:55:00 -04:00
2014-09-19 14:58:24 -04:00
script: mvn install
2017-05-13 11:55:00 -04:00
after_success:
- test -z "$BUILD_COVERAGE" || { mvn clean clover:setup test && mvn -pl . clover:clover clover:check coveralls:report; }