forked from AmadeusITGroup/HttpSessionReplacer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
29 lines (23 loc) · 1.75 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
language: java
sudo: false
install: true
addons:
sonarqube:
token:
secure: "ZRRg/k78smxwB41VD34t8cfe3pZgbsdiDhiRmPCCZQls+LrJS1yw12SUtInz+SxSN+CCBtkj2RlK15GKp/NrwGpsL3ogJrsgaOicJVItvL4ijh0O0XE1ZB37uQFoQK1mf7Stp/P+NGWy2uyYYMsPGQcl5Lvqfn77hRyTNlbFLoqo/Ra2PVrIA7jqP2yEZczzmaL24m/LNAfc6oHMME0DNRO2fY33xgV6ftzQpeSdEvKda+oS6YflGxx1l5cJOVEU/b1dFnivPZzgs9sp5BdzS33fezOg4YSpaT85hU+y/yKS1Be+/jiWoE/U9aR9IeZDxwZjFchU/IWqqm/Pt4WBVZHzUohsqnnyoz9RukPeriu0W8JEX3XCIbmKdxfN9dEfZH4kQNy+jEB/IEQeMPBJ7NObZKGrP1zNx++Pnskw7D+rdK+rRNBfKvbQ+RKiHDdQCCFjE+b7HnbqjxQHWDAbXSGWPzIp8ARL2caREsNQ9ldtPOpVZPw+jDTLKeQI3jIhwWXQcwxZjvWLgmSezsjDzrR8TQgICzK/Z9KrCAR6GZuUpJXg9zuRM0nxVerB/EMV9JI6aP2vaStc92nt2iNAb3f2sgkTfi6k5A54lDM9ttxsigZLtChfqpi0LB+ipqZvcLBiPZzo3NttxeJZ5ewxsh140DXWxdASIAvzTGV1AfU="
jdk:
- oraclejdk8
script:
# the following command line builds the project, runs the tests with coverage and then execute the SonarQube analysis
- mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent-integration org.jacoco:jacoco-maven-plugin:prepare-agent install sonar:sonar
- mvn -B verify -Pjetty-9-embedded-arquillian,arquillian-tests --projects session-replacement
- mvn -B verify -Pwildfly-10-managed-arquillian,arquillian-tests --projects session-replacement
- mvn -B verify -Pwildfly-10-managed-arquillian-with-agent,external-arquillian-tests --projects integration-tests/arquillian-tests
- mvn -B verify -Ptomcat-7-embedded-arquillian,arquillian-tests --projects session-replacement
# Run redis tests requires docker
# - mvn -B verify -Predis-single,coverage-per-test --projects session-replacement
# - mvn -B verify -Predis-sentinel,coverage-per-test -Duse_docker_host=true --projects session-replacement
cache:
directories:
- '$HOME/.m2/repository'
- '$HOME/.sonar/cache'