-
Notifications
You must be signed in to change notification settings - Fork 12
/
.travis.yml
43 lines (33 loc) · 1.4 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
34
35
36
37
38
39
40
41
42
43
language: java
jdk:
- openjdk10
- oraclejdk11
branches:
only:
- master
- develop
sudo: false
cache:
directories:
- '$HOME/.m2/repository'
- '$HOME/.sonar/cache'
env:
global:
# Publish the gdx2d API Javadoc to the gdx2d website
# - secure: Trl21W5O4XR8sTR9JPrYk4Rl/9j3CfbXLvFOWepQ8dcl5r90OeqUtBZvEygxzem1fqBGDHPryC/hSMoimac5YQj9J7PFqi15zQ4JhYNbg8zvpgfGk4tJwmJ+nBzz9TF6lkZQsRGwqpWYaSnv5BlL8fnuIRREe2FbHyCEZEcLeNk=
# Publish snapshots to Sonatype (CI_DEPLOY_USERNAME, CI_DEPLOY_PASSWORD)
- secure: "kNBemLDqDCzTf0OUtBImE68EO6s4nhXM5fxn+iGfEtAk+W70KlV6L5BkKmAbmlI/iZqtwA13FMmj4cIK9gNDj0nydgDLuCUGRIbnYdOnxrVc6Ykkw0ja61aRtiFpJs/WWqIqrZOJqnp/f9pmx+s3QKnHvTndepqv8/LKEdfeYLQ="
- secure: "H4ipPQ5dP0P1hmRBXQSIvmgEgZS4YI8ZrRjl2pNKImJ3KVN+pM9Jft9+DxOC8kCbLyI6dPHRkNFIa5A2BWoWrj20nOz2fTBNtW/kJQReAALoCycMZilN5YXKFsPERSSfJpws2qXTfIZq9A1PwsfsNOgdUM3z58T5Zyp5rzoTzVg="
# SonarQube analysis (SONAR_TOKEN)
- secure: "QY0AlaKUXRfzNGm5M9by4EV5PrZst7FFtLgpmk7WKj/fYgCrh5LAO3q49+OQn+rAoY7TsxZoF+KNtBC7Xdq0/9FzhYhGLXlsCZpvuc1NVU8qCSA1mNs1bkEadITVBguxQkNtL9C8mhBEXsWZ90t1QGBYUaXFtbnwd3yUv4ZbECA="
install:
- mvn install -DskipTests=true -Dgpg.skip=true
# Run the SonarQube analysis
script:
- .travis/sonar-analysis.sh
# Publish snapshots to Sonatype
after_success:
- .travis/deploy-snapshot.sh
# Do not generate the javadoc for each modules any more
# after_success:
# - ./.travis/publish-javadoc-api.sh