jjwt/.travis.yml

32 lines
616 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
dist: trusty
2017-05-13 11:58:47 -04:00
2017-05-13 11:55:00 -04:00
sudo: required
2014-09-19 14:58:24 -04:00
language: java
2017-05-13 11:55:00 -04:00
matrix:
include:
- jdk: oraclejdk8
addons:
apt:
packages:
- oracle-java8-installer
- jdk: oraclejdk7
addons:
apt:
packages:
- oracle-java7-installer
2014-09-19 14:58:24 -04:00
before_install:
- export BUILD_COVERAGE="$([ $TRAVIS_JDK_VERSION == 'oraclejdk8' ] && echo 'true')"
2017-05-13 11:55:00 -04:00
2014-09-19 14:58:24 -04:00
install: echo "No need to run mvn install -DskipTests then mvn install. Running mvn install."
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 test jacoco:report coveralls:report
2017-05-13 11:55:00 -04:00