Skip to content
Permalink
Browse files

Travis CI: Generate coverage reports on all platforms

  • Loading branch information
skalarproduktraum committed Oct 8, 2019
1 parent 1d92a4d commit ea457cdaf76d9da732f6e18ca88203e36fdf9e67
Showing with 1 addition and 1 deletion.
  1. +1 −1 .travis.yml
@@ -32,7 +32,7 @@ script:
# deploy on success, but only if we are on master
after_success:
- test $TRAVIS_PULL_REQUEST == "false" && test $TRAVIS_BRANCH == "master" && mvn -B deploy --settings settings.xml
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then mvn -B jacoco:report; fi
- mvn -B jacoco:report; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export LATEST_VERSION="$(curl -Ls https://api.bintray.com/packages/codacy/Binaries/codacy-coverage-reporter/versions/_latest | jq -r .name)"; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then curl -Ls -o codacy-coverage-reporter "https://dl.bintray.com/codacy/Binaries/${LATEST_VERSION}/codacy-coverage-reporter-linux"; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then chmod +x codacy-coverage-reporter; fi

0 comments on commit ea457cd

Please sign in to comment.
You can’t perform that action at this time.