-
Notifications
You must be signed in to change notification settings - Fork 1
/
.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: "vRgSegym/7204n+2vscIagwu3GAjDDOaxRroY5EfRy1YnVAEWWT6oAfdkK9ONfXR0rP+wsNv/VGLstRJh+ELyZxw94z5o/Ay9YRd1BKUgto76oTsyQCPW+aaq8nV1W6ez0qlGjCgFw9OzyvmZK98i6ul+v7zN+N9toK5msgd/t8vBOJzXNLPILAfhEwPzlr8oDeJCiV7aq9GwXf+/ERPKi60fbhBTpMJRWf2L/3d4Ktmm2QejynpFBx3b0WO3ljENWGMkhrSec85n/SezZ3DVSuYae6PHVUrELVfxofFlYeCCQX0ykJ+e94WgujguK/3Y/5JagOEh3071utILQt/TVkXqDLTv708WgRw8GKryk8JZBio2tWuQIGVybvUUYKB7L8GIwt2CfvP6XZGh58CuA9gxSEmlRnn0uvdcHiF3YgMJtsYsSPH5VykP44g5wbVbzcr67XRRT4+jRQva62cFwKUoHwdFu6VpXVF56s8LY0IzUHgWNAQnk/MPWr1/s+gUxX/adByY/l4sEjCVG2h2KnQAGJnn9MbsHNQm2YpSDwC/HlobFediQSMEw+6TZIcWdQe6rkem6pzc98noTvHQmX1ADyUPBUqJ1O98VgCzqLtHOeOt6D2W52PNvucTLzp51ClOh73Th/rY7VijI2dxhorK1aVb8NrL9mWknTjOE8="
# travis encrypt CODACY_PROJECT_TOKEN=...
- secure: "VfjrVrLuYw7TWUr0/mJ+AE8aRv/zhfLNZiw37Xv6RyJ/fbOD3tr6G+Q/nmr4tm7XgIX9loI9Qq7YGVk1EYhYddMoeC4kUAuTpdSsTtLqYldzrvr3RBVPiY+nnE06yBnUxZRpCyAI3PrAMe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y8gizu8/oiLjHnt8ys98MGXGg2eICSC5lbyfkYgO0t7iAogBlgdIFbwfzaaVtkM6D5VzKz06DDK224BpYmF+I4Qkm3hC56AOHg8rIQ3NZQARlh2y4xECAqu7svtmg9sih+gX7cuj4tyXhOt+lEJSQbqOvCJ/YigYrAsrJCOdH4b16WtxYGifFo="
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