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