File tree 4 files changed +16
-35
lines changed
4 files changed +16
-35
lines changed Original file line number Diff line number Diff line change @@ -2,19 +2,10 @@ language: java
2
2
sudo : false
3
3
4
4
jdk :
5
- - oraclejdk7
5
+ - oraclejdk8
6
6
7
7
install : true
8
8
script : ./travis.sh
9
- env :
10
- matrix :
11
- - TEST=ci
12
- - TEST=plugin SQ_VERSION=DEV
13
- - TEST=plugin SQ_VERSION=LATEST_RELEASE
14
- - TEST=plugin SQ_VERSION=LTS
15
-
16
- matrix :
17
- fast_finish : true
18
9
19
10
cache :
20
11
directories :
Original file line number Diff line number Diff line change 1
1
Sonar Clover
2
2
===========
3
- [ ![ Build Status] ( https://api.travis-ci.org/SonarQubeCommunity /sonar-clover.svg )] ( https://travis-ci.org/SonarQubeCommunity /sonar-clover )
3
+ [ ![ Build Status] ( https://api.travis-ci.org/Tony-Proum /sonar-clover.svg )] ( https://travis-ci.org/Tony-Proum /sonar-clover )
4
4
5
5
## Description / Features
6
6
It provides the ability to feed SonarQube with code coverage data coming from Atlassian Clover.
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ set -euo pipefail
3
+
4
+ # See https://xtranet.sonarsource.com/display/DEV/Open+Source+Licenses
5
+
6
+ mvn org.codehaus.mojo:license-maven-plugin:aggregate-add-third-party
Original file line number Diff line number Diff line change 3
3
set -euo pipefail
4
4
5
5
function installTravisTools {
6
- mkdir ~ /.local
7
- curl -sSL https://github.com/SonarSource/travis-utils/tarball/v21 | tar zx --strip-components 1 -C ~ /.local
6
+ mkdir -p ~ /.local
7
+ curl -sSL https://github.com/SonarSource/travis-utils/tarball/v50 | tar zx --strip-components 1 -C ~ /.local
8
8
source ~ /.local/bin/install
9
9
}
10
10
11
- case " $TEST " in
11
+ installTravisTools
12
+ source ~ /.local/bin/installMaven35
13
+ source ~ /.local/bin/installJDK8
12
14
13
- ci)
14
- mvn verify -B -e -V
15
- ;;
15
+ export DEPLOY_PULL_REQUEST=true
16
16
17
- plugin)
18
- installTravisTools
17
+ regular_mvn_build_deploy_analyze
19
18
20
- mvn package -T2 -Dsource.skip=true -Denforcer.skip=true -Danimal.sniffer.skip=true -Dmaven.test.skip=true
21
-
22
- if [ " $SQ_VERSION " = " DEV" ] ; then
23
- build_snapshot " SonarSource/sonarqube"
24
- fi
25
-
26
- cd its/$TEST
27
- mvn package -Dsonar.runtimeVersion=" $SQ_VERSION " -DjavaVersion=" LATEST_RELEASE" -Dmaven.test.redirectTestOutputToFile=false
28
- ;;
29
-
30
- * )
31
- echo " Unexpected TEST mode: $TEST "
32
- exit 1
33
- ;;
34
-
35
- esac
19
+ ./check-license-compliance.sh
You can’t perform that action at this time.
0 commit comments