-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
63 lines (53 loc) · 5.92 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
57
58
59
60
61
62
63
language: java
dist: trusty
jdk:
- openjdk11
sudo: false
install: true
notifications:
email: false
branches:
only:
- master
- development
deploy:
- provider: script
script: bash scripts/deploy.sh
on:
branch: master
- provider: script
script: bash scripts/deploy-snapshot.sh
on:
branch: development
env:
global:
- secure: "b1lrwVLh+CJUzblf28WWDACv/GsQvjjfyu+nHyU37cpoZhMLrixh+q9uzE1uAK8Zh2SlWPAH1DKNccFSC9lf7gINcLebqDs442Rwi/o6N16LA8wvto0WGV/Ye+i+NiJfBYztOUMr4FA22BAfNxkAXjc3Hppp8oA8F90MwC+TeQHP9/vNPUbRCT6rOKKM+0oAIMqzQ65voRcTxx0rDEtig8YwFj7oN5U/SbfMi1GYWUb1MNG8RRg6qVahI0PFl7LmeJoTPdmoFv/8Lyqq2m7xcM6AQnVcY4U66331hlmHQfbRrh2ILuFpqp6rI9SuytD6U4X0/WuNa+k4/NhjdqpboX1ycNblJGOaG/PmTP7eGUDRcBO6xvhKprO+4o2ONHh1aVO/FUTDclEe6wtrwBiK7PyuIu0m1CZ3KfzQd5egEobwWUztEc4uhzy82YHABCKpcL9IVDD0l7BOAVoX+owUDfBmi+16lfAsmBLqBzUcRuS9MNLCHhoubh6l6SNB4eNa62PRIpo1m6HG1Mc43EL8nhRNSdgaZgsIQAaWXAMRO1qcsCIRqsXHeTIb77TStcOW8TUeLzWPDlaWtg/fSQB4lvZ3+XJY/VagWVAbNm3lscUwUMQaClfnRntiJEaQ5i0XT2HeZQs4Joaal8/nms8dPlDqFFwSbogxBpj6861Y/uM="
# ^^ GITHUB_USERNAME
- secure: "H/wYe8Inb1AWLl/sA2f+aQMP6M4AsmWJ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bfxKzSdM3R+ZrTDj8aIRqeVXTNGpsuHiXIrWmEuQWmrQvIek2dTtZNNrN5WcdtibJMoRdXv6l4twMfEWiz8BAu4TSULEar6FjJt1ScCh+FaftYXN1MexZwbgq2bsCLH71MIG1ePZm270rAbvZCD10DAwvsRO/RcOOZui6i3Fe263F4IgOViOwLblRnWwSBAW1gAF6WerDDWU9fQMKaFEqSFq95v6LiJKlZSe2IbBZNK17G6Odo9HqOFFP/fqk2nq2bkQUP58Ank2tzsIhSjMW7oyiOn9V7EaTh8FBAXEU="
# ^^ GPG_PASSPHRASE
addons:
sonarcloud:
organization: "tbmelabs-github"
token:
secure: "sAXUb/3G//Exc1uO8AaGjuT+Hg99SJVnp8sDw1Vr2HXEdqDCmsW1v72A2udkObOKb5FxFuwL9ZdIkBXnog4zDbYcn83rvU8/YCiBumFoQT3XwN+sJye9vQA7IXPCBptVeuTjV/0z+EXtgrLrxPKahPNW8olZsWylQQDSQumXyWdCA1TEIOOA2ryQEhOiOUrK5rk7o1arTUFZCPLdxiz8rZ/LovighQ/t3J7AFXzE8BJ8SLp4ImpNUWFPSuxyB+ir48cO7IUNC//LzRgVQx4Yhn/gGeRZ4bqN1Q0MeJYYQ7gPHrtzQdIkfIr4uvSRXlcE3R8yZBnS1dsFlX7ivy61zmiBmDNBbCULAhBCuKt0ieeV/pM3K0VtcD89taGnvqQw7/E/ralSMsoa/Gr160itkvVJKT9YA6xN6yf/4Cl1kwzpSxT/7e8rB/JGZHd0fIQA8+RiMIwgTUUP4HrjTQbaH1gxiSiQfFuNoYS76V3PHsCsQKiBnHqMz8Tll3EzQycd1axPW/vHKeoZxiLJjwu2eoeddNBgildi18jv7e94TSYHAAunLNMZOhrA0sdOcW6NKrK4tWA1a2gFIanV/+DxtnbmuYTs0/zSCB169gKd+oPnZlQK3t5yojP4s13ZAK+qIfmRR0DruIBsETgv6ydDYMzNQLWAUvbXlCLVJSm8UIM="
before_script:
- git clone https://${GITHUB_USERNAME}:${GITHUB_ACCESS_TOKEN}@github.com/mirioeggmann/tbmelabs-deploy-certificates.git
- gpg --fast-import tbmelabs-deploy-certificates/tbmelabs-deploy-key.asc
- cp .travis.settings.xml $HOME/.m2/settings.xml
script:
- mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent install sonar:sonar
after_script:
- rm -rf tbmelabs-deploy-certificates
cache:
directories:
- "$HOME/.cache"
- '$HOME/.m2/repository'
- '$HOME/.sonar/cache'