forked from apache/syncope
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
38 lines (29 loc) · 1.3 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
33
language: java
os: linux
dist: bionic
arch: amd64
jdk:
- openjdk11
cache:
bundler: false
cargo: false
directories:
- '$HOME/.m2'
addons:
sonarcloud:
organization: fabianoveglianti
token: 70b0ab8fe899f3caf35bbb4557356b3cd70c1a74
git:
depth: 2
env:
global:
- MAVEN_OPTS="-Xmx4096M -Xss128M -XX:+TieredCompilation -XX:TieredStopAtLevel=1 -noverify"
- DBMS=H2
- jaxrsContentType=application/json
- TestCommand="mvn -U -T 1C clean test -Dinvoker.streamLogs=true -Dmodernizer.skip=true -Dianal.skip=true -Drat.skip=true -Dcheckstyle.skip=true -Dsass.skip=true"
before_install:
- wget https://github.com/sormuras/bach/raw/master/install-jdk.sh -O ~/install-jdk.sh && chmod +x ~/install-jdk.sh
install: mvn -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true -U -T 1C -q clean test -DskipTests=true -Dinvoker.streamLogs=true -Dmodernizer.skip=true -Dianal.skip=true -Drat.skip=true -Dcheckstyle.skip=true -Dsass.skip=true -Dmaven.javadoc.skip=true
script:
# the following command line builds the project, runs the tests with coverage and then execute the SonarCloud analysis
- mvn -Dtest=MyEncryptorTest,MyRealmValidatorTest -DfailIfNoTests=false clean verify -e org.jacoco:jacoco-maven-plugin:prepare-agent install sonar:sonar -Dsonar.projectKey=FabianoVeglianti_syncope