-
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: "TEyI0SoELU4pwsBqys05S0xwaqB+MiToAcZFBak5+TgLGu/hfkfRmV/+EQvSwu/adztsiNOkSve+l3jhvbz7b3uXeGg+qI8Xn5sMgUfxy6dVsEMSbQXInnyplVcZAe4gmFoOhizp4wfyhX0E/DLCDgdldH1oU14HgS2qAkeONNHcuo+uekDw907VPjqnGPv4PWgupMDtFnX2gD+DuZMYrlrcoESAcGC0SNJqmuRgiqoHzNeAvRCtPbOK2KpeHOxLPzwoOotlBtPBcRBUvV0IK76ZfwKXVA2/awY25AL6y0WFROgSr8pZfCn4Z2JxnJ6qh2uI//DxJOnuyXlJSGRXoiRd5Dd15d0AjekTxC7A2v08I0U90m26+w8o1WH/AxpQux1reQi+sqHhWT9FS+PaZUxKZR14max5eTu14KeHs/3sTbazCbxA7xREt0dAKtlRQGf2yUT/LcwPxDQYo9oADMnCWDhixH7OmyqHeFQoRGtrldQywbHk4y3iIAf87XC/rGGkIwF1lnwRymA+7nU8RGEDN1OpzEsJPkbYLrDofzTJC7Jlr4BjIXqx8iucR1W37333XGAJcjY44Zvp0I4hrvxehR1iU43x6dE/z+HlnDTi2ig4pLJvtDA8VZHhczR8EHkr+75OfpcwFiqK/T94QH8u7RPw6cmfJG7D1AbWQfY="
# ^^ GITHUB_USERNAME
- secure: "bT82ylO8fBoc24JkKC0ua0yglW0JOb60hKIb3vLC0VA+/M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gAUK02y/vwutZ8zwn/apmihf8lK2BQo7LXJtPKuYB3HtL8xqFufEQ3EiYLWjPPWr3LnqYitmchH2Fr7QDM4KroMPYzMvCC5Ojk0jZBpvB7zX/e42c/YP20GUCJNFLeZyeKKUR7RsoqORacHvUdIMW5lKs20Bqb4Cq5bdDmnaWtfZHtjn+0Ee80CcXPs0G7boXyuErT0NW84ov8qJ+/Uo5tfG4Mf5LdfS82O4h9QsbzVAmVBud9Dg="
# ^^ GPG_PASSPHRASE
addons:
sonarcloud:
organization: "tbmelabs-github"
token:
secure: "NdshEorZ2t9nLEBgeeWGIbswBlvTDEclOoLK4Kkyt6SX5yXVxVEWowd0FjKXHbOR8Vgi8uDbSaxyGF+vmTWNHtYALlXSlDP+27RIRmiIbYMF7N3e0MsZb28Q7HpbpvSR8Ir8ts+/38x3AkwbwypFKYdc0pRa06WisbLk8dZxgrgfrLPgaYwPcMhMEfXy1PWhkPALhwU6DwtFX7HbWuHlDZ8Bx/ZraY2tQiDoQqWhi2jluGZfu9AQiPCpGZmCufNwkdR5rJSU6N/H2ueZxlS1RM7neO4FtxnHUZwThlG7vxcshOsMOCTRRrgYgmK15OG5OnHb+fss6nPkpv+8OZAnjLTaXRzCE6zN5dhftAM//m07oLEotPNBtD9DvLK8kuCvaJavn2U4E4+4S4PPb80HJKJk2DxUsUUdj6I1yyuHZoYqG1fevSufKfWZHPnxpjkiRzAYn7NXvgwXlt6bGvm6YvYu75w3EOuazb0EKPC++8l2EW6DFoEOMGkz7KjfF6WIrdThtBw7V4K48+ebTmB1vJDHKXNWd2oD5Pg3buxwDloLhzNP4oGEMDrWwYAm+itqgHHd8mQhGnL/CwnW3IXeFlezXFZDwZn5Ybz+pAvJ4Z22jXYlc6sQ3W3lVxqtEAu9rDw+EkR2y2SOLeRqmm6T6aJf+LloPzzM5QbNFMXtFYQ="
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'