-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
42 lines (36 loc) · 908 Bytes
/
.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
34
35
36
37
38
39
40
41
42
language: java
sudo: false
dist: trusty
jdk:
- openjdk7
- openjdk8
addons:
apt:
packages:
- jq
sonarcloud:
organization: "thomas-mc-work-github"
token:
secure: "ea7c310215767106ae37bb9c7dac595d3d7a4704"
services:
- docker
before_script:
- mvn package -DskipTests=true -B
jobs:
include:
- stage: unit test
script: mvn test -B
- stage: mutation test
script: mvn -Dthreads=4 -DwithHistory org.pitest:pitest-maven:mutationCoverage -B
- stage: integration test
script: mvn failsafe:integration-test failsafe:verify -B
- stage: quality analysis
script:
- jdk_switcher use openjdk8
- mvn org.jacoco:jacoco-maven-plugin:prepare-agent install -Dmaven.test.failure.ignore=false sonar:sonar
- stage: system test
script: ./run-st.sh
cache:
directories:
- '$HOME/.m2/repository'
- '$HOME/.sonar/cache'