Skip to content

Commit f71f627

Browse files
authored
💚 add Sonar Cloud configuration
initial configuration
1 parent 173f599 commit f71f627

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.travis.yml

+12
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,21 @@
11
language: java
22
jdk:
33
- oraclejdk8
4+
sudo: false
5+
install: true
6+
addons:
7+
sonarqube:
8+
organization: "your_organization_key"
9+
token:
10+
secure: SONAR_TOKEN
411
install:
512
- mvn test-compile -DskipTests=true -Dmaven.javadoc.skip=true -B -V
613
script:
714
- mvn test
15+
- mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent package sonar:sonar
16+
cache:
17+
directories:
18+
- '$HOME/.m2/repository'
19+
- '$HOME/.sonar/cache'
820
after_success:
921
- mvn coveralls:report

0 commit comments

Comments
 (0)