-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
38 lines (34 loc) · 2.09 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
language: java
sudo: false
install: true
jdk:
- openjdk8
script:
- git fetch --unshallow --quiet
- mvn clean package
cache:
directories:
- '$HOME/.m2/repository'
notifications:
email:
recipients:
on_success: change
on_failure: always # default: always
addons:
sonarcloud:
organization: "danielhwe-github"
token:
secure: ZGak0q5lxEiJPdPG1tfCeHvJU21HD/ayX51Ok3F0Tv2n/Glhuyjy6TiVixPYzqSUXVz7IdaOhYLpDi3EHwqwqoOSQKpoeuQOuxhDttIHNyLL/YN30Y4jnPkBA4C6jr3Rs2GnAeDNt+Z2eotmwENhcNHSlYLicCJwMFTX04JHN8Xh/RNBKTnHSx+/SitaMwraD59uNZzsPHUI7jrcWgkp/8pH5tFQk4wIuo7SjBJf7jQ7dhjHs5vFNKovJE4ZzkpSNwfnPZlAUtgBy8GaX57n/oDZSi/sTtfHc22+tN4KSuk8kpuDuLgc51CDBP7DoXHiolH8c0kMOzx0wJ+khRUWc4+tuD/os0CyyPm83fjGpn3upr7pmxhxTimjyGf7UkGSNUxfZALxZ4+/bTZDbm6xFw/j1yADVUJi8owpRZoBTz6AM6xmdIOuQ8tUe1fmnA9A2wj//2N6JYEMzoCtRNKCyr1fcwBqg2iEp1qXkKSQJhFWNGjxLgV7mRgd0lOo1ZCnwbz7HFWTHYfX0EGioGqL0m+UV0mp905p6zBTLqI34NUpD7NTe1YeQWpY/jiSksa2IeTV1/3TsE6ZghMhAhO6AjrqSV0VMRPkgbvnKTGTFsEK6oNFuiY7xB/sWnss9sMxfproSARqWlPRPfQswkbRDlmzMPUVvB3d5Uc3CLWyi5Q=
script:
- mvn clean org.jacoco:jacoco-maven-plugin:prepare-agent install sonar:sonar -Dsonar.host.url=https://sonarcloud.io
deploy:
provider: releases
skip_cleanup: true
api_key:
secure: PToFyyllcWniZA1IM6xsbDnbUQNtLrheFDlaSVVTAP9URIn1hmDBjFAcZhNuWBOqa2JAlNzkxDTdq/Hp6O8RRz7w+o+blSoGH+JaZQE7/zCi4AX8z3IUYVu0qwmerX616DHpHVejz3pEES2siDTZM23mRMbmtal78CmtGCf0XfAVQ0MMlJMww+de0Bi3VNB+ranYbuRiDdeo2Kudja3+cfVgy2hPq81c1q1GdrND3iWK+JAMAKwGiAbiAK5jUolXLw3XWyn3Uenm1ddIOEcRtXQ6QJBwXGRShDeoEsRDlsML6vw3AdsIx+x/y1xeo2Lt8bYyXqAVm8ZkQRjMBb+kWT2sOFWLk5VZe3PhTwRbLptR2twNsEydMlWFjpxndtzim/u7I8G6YzNK+9qJC2HvCmMbyAniPDC0DBlKSHcUEi7nWEBsm9UWilXblf2i3KvGdX8I8BB+Y5WbuUA6p3y6P+ZnNxfkwUPGFT4+sfjz6tKRkCnbfAhY3ykI0tK1Z3gHPOhB3pyd0rKVodHRGY/ynGEBNFzkhc+ykTOcpTTURQd58l25Yuv1aiigLO/2ISXBRCDyWX+k/9Y7YCkNrQS5rCHnfllKiMSTpMEHu3SrNVSAbtsB+uE4teU9n9V5C+oANNSXvXQctZmLh8+DYmp4ppU8qhTPcPRHTEJk31Ss8oM=
file: /home/travis/build/DanielHWe/sonar-fxcop/target/sonar-fxcop-plugin-1.4.1.jar
on:
repo: DanielHWe/sonar-fxcop
all_branches: true
tags: true