We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4489923 commit 222e675Copy full SHA for 222e675
1 file changed
.travis.yml
@@ -1,15 +1,21 @@
1
language: java
2
dist: trusty
3
-sudo: true
+sudo: required
4
addons:
5
sonarcloud:
6
organization: "coma123"
7
token:
8
secure: "6e2378f95e57a3e473bf52cdffd4971cdf23073f" # encrypted value of your token
9
+ branches:
10
+ - development
11
12
script:
13
# the following command line builds the project, runs the tests with coverage and then execute the SonarCloud analysis
14
- mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent install sonar:sonar -Dsonar.projectKey=coma123_Spring-Boot-Blog-REST-API
15
16
before_install:
17
- chmod +x mvnw
18
+cache:
19
+ directories:
20
+ - '$HOME/.m2/repository'
21
+ - '$HOME/.sonar/cache'
0 commit comments