File tree Expand file tree Collapse file tree 2 files changed +13
-7
lines changed Expand file tree Collapse file tree 2 files changed +13
-7
lines changed Original file line number Diff line number Diff line change 34
34
# via the "travis encrypt" command using the project repo's public key
35
35
- secure : " O_cda5pWDBAP-O3_0nG5RQ"
36
36
37
- #
38
- # If compilation fails, we do not want to run the tests. Travis runs everything
39
- # in 'script' no matter if an individual command fails or not. This kludgy
40
- # looking shell incantation takes care of that.
41
- #
42
- script :
43
- - mvn -B -V verify jacoco:report org.eluder.coveralls:coveralls-maven-plugin:report
37
+ script : scripts/main
44
38
45
39
addons :
46
40
coverity_scan :
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ #
4
+ # Do not run coverage for forks as most people do not have Coveralls enabled
5
+ # for their fork.
6
+ #
7
+ extra_args=" "
8
+ if [ " x$TRAVIS_REPO_SLUG " == " xoracle/opengrok" ]; then
9
+ extra_args=" jacoco:report org.eluder.coveralls:coveralls-maven-plugin:report"
10
+ fi
11
+
12
+ mvn -B -V verify $extra_args
You can’t perform that action at this time.
0 commit comments