-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
56 lines (56 loc) · 2.69 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
44
45
46
47
48
49
50
51
52
53
54
55
56
branches:
only:
- master
- "/^jee-[\\d\\.]+$/"
language: java
jdk:
- oraclejdk8
dist: trusty
sudo: false
group: beta
cache:
yarn: true
directories:
- "$HOME/.m2/repository"
- "$HOME/.sonar/cache"
- "$HOME/apache-maven-3.5.0"
addons:
apt:
packages:
- libc6
- graphviz
- ca-certificates
ssh_known_hosts:
- github.com
- site.trajano.net:6022
sonarqube:
token:
secure: ibixZFEwZdGaHbD3/ZTrmu6HMJ0tCr5v+JrF/FElkR183rgvAwXVtYZKp3sdo9IBb3mJuDHU6P0ggyxHeESZPHPyRoko6EAn/9kOWdXc1MFqvx0XkEBgY5VdKC6wgDwjhcKaDMX4CzkCsA/+VPgS4w9rnX0ynauYdFD8juBLvZPtkHpRl1v8XNuSnSTfKBk8dPANWcTH0yVgT1xPdYZO2yYKFS9FIA7yvBQ3vT5haGUNsUB7ALQ5eEU1GtVoX1Y+XjHYmCzWK0hMY5CZg123oula1jbJwOIuOL/+zFfknH9ret4VMMAUZBLKnWv6cAAyLi1/AIHvlaX2Zj3J2IF3Ag827vtQWxgdUuy3ebPwIhT7Lzn/djZTgCk6fegWj1BcWhhnrEWSVpUDyLdMyQrH1zY1us0VCOGEBmRI3a6E/x4+IK7YSa5oY50hwma8qxbreNlLqr61cu8LnP2o4qI4sSKWWo8MBqwBMvczqq1lOXg+CLojeKUZouBxzRVFP8znqLv6lZIlemBbruqwJw0Y3Uwe68GUZA48Kg4MtvWxoi6Nj/aUmzAXqmcQ6Zs+KvjxKblkX5xiIkETwBq0tqAgGLGOio3UeQWljsYM8tnjosYWok9Ewyuo0nQ3RJ04cteg9XdPHdyJk2G8BJUMGk+njF30wuSWkzvaLW7ba3Q++8g=
before_install:
- export M2_HOME=$HOME/apache-maven-3.5.0
- if [ ! -d $M2_HOME/bin ]; then curl https://archive.apache.org/dist/maven/maven-3/3.5.0/binaries/apache-maven-3.5.0-bin.tar.gz | tar zxf - -C $HOME; fi
- export PATH=$M2_HOME/bin:$PATH
- echo "MAVEN_OPTS='-Xmx1g'" > $HOME/.mavenrc
- openssl aes-256-cbc -K $encrypted_a57c19a99eaa_key -iv $encrypted_a57c19a99eaa_iv
-in deploy-keys.tar.enc -out deploy-keys.tar -d
install:
- tar xf deploy-keys.tar -C $HOME && chmod go-rwx -R $HOME/.m2 $HOME/.ssh
before_script:
- mvn -B clean
script:
- mvn -B verify sonar:sonar
deploy:
- provider: script
skip_cleanup: true
script: mvn -B deploy -Dmaven.test.skip=true && mvn -B site-deploy
on:
branch: master
- provider: script
skip_cleanup: true
script: printf 'scm.tag=%1s\nscm.url=scm:git:https://[email protected]/%2s.git' "${TRAVIS_TAG}"
"${TRAVIS_REPO_SLUG}" > release.properties && mvn release:perform
on:
tags: true
env:
global:
- secure: TfDmbUPIJ5V31SyLEKEvEi5nBIIwkHxRLGFIJqpjxekmX4c6u4ZOXJwHxeQmYVJtFmVpE6Wm4qL0EAdUtbncTGPlKN1AIBcCMP9UQSmgR2PdJn2nSHejNXt+T6Dnvs3csy0NZfJzIVQ5K4Obkh9tL7jNaF/qzq7JBxRfXDmEW1dVEhJEEyCykQgjLep6kSNtyNsTKWBhbWo/xil4/GaWvrFbLZj5DEEHB/gbVZPu26Pjr4G/UhkR685oP4yG5KkEzmR4F4Z8CFdPPIhVF2jvdX7yI2ZCVJBfGpBRjI9h76NLbPHqGT9gSLqiuAPBlTj+KGmkOMAUURGpvkGs8iwFO36q4dolhfq5KZUil7XbrakFV8uiu/iPFnkkqjiVWMcFKlV7/GVZLOFTutjWLJet5hdw4V43sbXyqjfNTnVM6ZbIweY7zT/m1XXGvqTGDCxsKkqr7qykH2EMIX2Dfipt1tdKpz4apWhstcudZUSrGnZJY98wrv0IRhcicGPYB8CrFaLD8zHyFSCXf6GtGShOJMGGKRq1roDAT7PNb3r8dKxmMx6Po7zdKlxR3kITQMKSCFDlEg08gnz3jBN7axb7Y1oi/LEG0+78kFhgCFGUrj3kiM8/Zygv5MsIIAL5oidwj6p3swlwTawrg0rN2EE14W72LITKlB6bPAzQZ6M/Pic=