-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
32 lines (25 loc) · 927 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
language: java
jdk: oraclejdk8
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
- $HOME/.sonar/cache
- $HOME/.cache
- $HOME/.m2
addons:
sonarcloud:
organization: "jgdsn"
script:
- mvn clean install
- mvn -e clean org.jacoco:jacoco-maven-plugin:prepare-agent install sonar:sonar -Dsonar.login=${SONAR_TOKEN}
# removed cobertura, because cubertura has problems with java 8 reflection and requires an update, but no newer version is available yet
# - mvn cobertura:cobertura
# - curl -X POST https://api.poeditor.com/v2/projects/upload -F api_token="${POEDITOR_API_TOKEN}" -F id="192697" -F updating="terms" -F language="en" -F file=@"data/i18n/messages.pot"
after_success:
- bash <(curl -s https://codecov.io/bash)
notifications:
email: false