-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
45 lines (34 loc) · 2.82 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
language: java
sudo: required
notifications:
email: james.hn.sears@gmail.com
env:
global:
# travis encrypt COVERALLS_REPO_TOKEN=...
- secure: "GDu3hha2z41saBrnSxo7vlOcxRGnKwDcEjhQZqh5In/9VnWjU+zSNmgvIxynGIVyTLF5ZTReaQx0CiLuf7PPCJRvgCgXw9NzWFaAL7ki+FtSI7hmZFuEP3PEVDfr1BjzT9NcFkIELsEOf4NV+ipbUoF/D65m+Wh/duQkIs4RboK78Gfce/xtcs51gDk42kfL2Yrx4b5pC93XFo6atqWtpe5imAI2dTrjAPW5Ei2gvNnz2HJ87xrkhxYC+ToaYsC6W5A+4x/6EFe1C1UPC0Dd3bhAxDHRATPcJyBo0VOcpRyENLGeaQLi+iyq4IuBnPK4NKE9dlOhmp1kTfs4w0HdZfo/KcJQ9qMfUyC/SE210/oMQ2jL57Yl7YSDthhYqxNfDISvYcTUGoXG7NXVaSpIbPrHf0x2t2ubTYaGz3k4PAngKZMyvH2Pz+VyDNL6r9p/2flIgp6W9jbbACR741w6goY52GFWMfOGQAPsZQw5zUVAza5THkNkgXrcDjhDhejMYFAoAD3KsQuOU4YF4whS5dHTw0REvjgHNpJA8aDczcS/cHlViP4k9yRp4ulqX6gNp96pS0/GH+ED9WkA7wd8csvT4p+GwgA2sKLZVmnJFWXzk+p6Nd74swF2ux6FmxG+FXuABgwMkXCa1xKVA0AaMgfW/8FFVozL2yIBZvByOac="
# travis encrypt CODACY_PROJECT_TOKEN=...
- secure: "ny9gNLC47x6hRqe8uF3rkiH0iCqL9IXtobE57x7nnLSFZb/LGXQnq5AO/FDYiu3An+7uYplQhcGwwfSmofahBHuIDRfoPDeM4fdAVgUGTUWn32MuZw/Y38JCCjEu8/O36l5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gy2ZvCzPRQwiqraoWC6sPIjrgtql56Y4wgLu7L0bowFbNotJypeivWTPtS/9kjTjNHT54GkfsPBflS+ZR4EhMxyxWmqbUGdVKgCaZ7/kf41Nz5jjdwJFCceQpN2aw3gEJXp/ReR+A3eCwOWsUQNJIXBD+sU3A1aH7ozKfO2EQlE4xOIJ8eeAWrFsIP8A8="
git:
depth: false
services:
- docker
jdk:
- openjdk10
cache:
directories:
- $HOME/.m2
- $HOME/.sonar/cache
before_script:
- wget https://github.com/codacy/codacy-coverage-reporter/releases/download/4.0.5/codacy-coverage-reporter-4.0.5-assembly.jar
script:
- mvn clean test
- mvn checkstyle:check spotbugs:check pmd:pmd
after_success:
- mvn jacoco:report coveralls:report
- java -jar codacy-coverage-reporter-4.0.5-assembly.jar report -l Java -r target/site/jacoco/jacoco.xml
- sonar-scanner