-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
32 lines (26 loc) · 1.98 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
29
30
31
32
language: java
jdk:
- openjdk8
- openjdk10
git:
depth: false
cache:
directories:
- "$HOME/.m2"
script:
# the following command line builds the project, runs the tests with coverage
- mvn clean verify -Pcoverage
- wget https://github.com/sormuras/bach/raw/master/install-jdk.sh
- chmod +x $TRAVIS_BUILD_DIR/install-jdk.sh
- export JAVA_HOME=$HOME/openjdk11
- $TRAVIS_BUILD_DIR/install-jdk.sh -F 11 --target $JAVA_HOME
# execute the SonarCloud analysis
- mvn sonar:sonar -Dsonar.projectKey=silentsoft_badge4j
addons:
sonarcloud:
organization: "silentsoft"
token:
secure: "EGTWAtxI3BVGzeqD2EEJZdsMK1yBG4BzkgtOVuKEH8I2jDOqNtVRfLTXN5H+BfjqQ7z5ZmZEfv8i02zg2h5SvZBEdURrF9pc91DH7I8WREcmeBC+O9fVzwtfCi2DlojirPd8Po9SM2MuWEyqDHby11DQqop02UFahbR912W2GGl7dSRMxtFXVLFhQ2Ax3zVTqtL4ppTSDy39S0BozgmTwGtmS+4GGfmjylN59dWtd7OFDcNn3QWKsJuZdz3n0DWpJF5SX7kZVzWrU5FR9kcU6mY+m0fyQBxzq/0SkKeJU+G43i6BMc66Gn20g3RCTbVow4h6+BJ+eZJR8MqPs608/yT5wnhibG9M+ZOp3lIX9uCFdPozQTIVoJkatIGt+QT3uQwSYzYbrnEfA9XVoxsBpuQizB+/Rez5TInL+AYHwVtkznpAVaWv3pUN/nEh8bh9cDQ+NHAu4Z3RUTmFcSmGMrLbscRdgjwYrZQ+n8I2qS9hwauxIPnj/m8Hxn4k7NfkVD0nhM2pjHi517I/Z237RRbJ0p7GCKog9omJo7iOvvyX8cTI0p0aFc/MG/OPryvCZnUreo+bxftFNsS/YdnG4PPVftn3kJvFn0rUVl1iF8kYCIogE/S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