Skip to content

Commit

Permalink
Added code to build coverage report to .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dogeared committed Oct 28, 2015
1 parent 1d9fd73 commit 4773224
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,9 @@ jdk:
- oraclejdk7
- 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."
script: mvn install
after_success:
- test -z "$BUILD_COVERAGE" || mvn clean cobertura:cobertura coveralls:report

0 comments on commit 4773224

Please sign in to comment.