1aba5f4cfSVladimir Kotal#!/bin/bash 2aba5f4cfSVladimir Kotal 3aba5f4cfSVladimir Kotal# 4*cb86d517SVladimir Kotal# Do not run coverage for forks as most people do not have extra tools enabled 5aba5f4cfSVladimir Kotal# for their fork. 6aba5f4cfSVladimir Kotal# 7aba5f4cfSVladimir Kotalextra_args="" 8aba5f4cfSVladimir Kotalif [ "x$TRAVIS_REPO_SLUG" == "xoracle/opengrok" ]; then 9aba5f4cfSVladimir Kotal echo "Enabling Jacoco/Coveralls" 10aba5f4cfSVladimir Kotal extra_args="jacoco:report org.eluder.coveralls:coveralls-maven-plugin:report" 11*cb86d517SVladimir Kotal extra_args="$extra_args sonar:sonar" 12aba5f4cfSVladimir Kotalfi 13aba5f4cfSVladimir Kotal 14aba5f4cfSVladimir Kotalmvn -B -V verify $extra_args 15