mirror of https://github.com/jwtk/jjwt.git
Added code to build coverage report to .travis.yml
This commit is contained in:
parent
1d9fd734c9
commit
4773224c74
|
@ -6,5 +6,9 @@ jdk:
|
||||||
- oraclejdk7
|
- oraclejdk7
|
||||||
- oraclejdk8
|
- oraclejdk8
|
||||||
|
|
||||||
|
before_install:
|
||||||
|
- export BUILD_COVERAGE="$([ $TRAVIS_JDK_VERSION == 'openjdk7' ] && echo 'true')"
|
||||||
install: echo "No need to run mvn install -DskipTests then mvn install. Running mvn install."
|
install: echo "No need to run mvn install -DskipTests then mvn install. Running mvn install."
|
||||||
script: mvn install
|
script: mvn install
|
||||||
|
after_success:
|
||||||
|
- test -z "$BUILD_COVERAGE" || mvn clean cobertura:cobertura coveralls:report
|
||||||
|
|
Loading…
Reference in New Issue