-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
28 lines (26 loc) · 1.38 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
language: java
jdk:
- oraclejdk8
dist: trusty
addons:
sonarcloud:
organization: "nosbielc-github" # the key of the org you chose at step #3
# token:
# secure: ********* # encrypted value of your token
script:
# other script steps might be done before running the actual analysis
# - sonar-scanner
# the following command line builds the project, runs the tests with coverage and then execute the SonarCloud analysis
- mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent install sonar:sonar
# - /admin-service/mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent install sonar:sonar
# - /auth-service/mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent install sonar:sonar
# - /banco-central-service/mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent install sonar:sonar
# - /config-service/mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent install sonar:sonar
# - /discovery-service/mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent install sonar:sonar
# - /gateway-service/mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent install sonar:sonar
# - /zipkin-service/mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent install sonar:sonar
# mvn sonar:sonar \
# -Dsonar.projectKey=Nosbielc_MixedSaladService \
# -Dsonar.organization=nosbielc-github \
# -Dsonar.host.url=https://sonarcloud.io \
# -Dsonar.login=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx