-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
47 lines (36 loc) · 2.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
language: java
sudo: required
notifications:
email: james.hn.sears@gmail.com
env:
global:
# travis encrypt COVERALLS_REPO_TOKEN=...
- secure: "EhMRLMjwGeg85i6hqKqdAhESTf4jG2n0yXKHkGbuuxKu6t0SjTHHvv7An+gaEbES2jWv9xUAaTyCR/eQJFrgi5oAEjyZbumPjX755G6FtXgVP0bbg/gxPJZI7pcqIFh1fKUebLYhtVnbvIjWqL5E1R0+vAcDnB4dww69K4nL+2sYLEDAXvI7hWPeRZZUodbfeureEsmv3+TxbPsKe9NEYLmdnpqhVXZb/efh2mXvu6YBhUe3ghqiKzmXSuJh6q8vErhxxAxlMItuf6r8fvEf0K9wAX10Yg9Rs4QqUpoHMrgnvLbV6P+sJTvZW0iMRwjxpEQW9vKugfqZBLGwC++Q+8FH/xsTLoUGy6rdiwtwQSZHG7bMnlk9W54ZuMZMSO9h+CeGwVl19AGvHhNU1PyUhPQPfo8U2VVG8sn3WlYzKGMxJdS6hi3T9xNMo54Hbyn9XuLdepPkFbSFY/g+Pnz8P6j8nLK81wUfyIpIDe3/o+/Bkyh+AGqbrOPQjNb/r2MV7i7lnxqxdob4ivEnC5Zs5nG4DWzoaT9KY2ZJr/JVcGjF8PnoemtBbq65S8hgHblPZJuw5FmURmhh1KejC4R754X6wwRVUCbL0KoUj/KZnFZWTy8ddXtW1kBmmcfYpal3SIppFKnuM3Yf+nVjrMTbRi65SHqlh8E8GuaOSfH5ZdM="
# travis encrypt CODACY_PROJECT_TOKEN=...
- secure: "ZaXmBTFfvX20ipUSUz5ChkGkuh7jLvjpUgV9z+wPCz2/axRfl+lLRZl1yiU4z9IoveZtNtYAV/z/0bSy0XvMLImBDoazrgX1icdslvPEZQbbMujoVC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7sIFDTUFxSx3mTDZTnmiI74X+a3jiAmDl0VzVWR7JZUdCMQVZOUs+jeC8Dh5QOpg93vsQ1+iGWNLLxNRKqfEgfg1t/5Xjsa/lhcDjhZ06wO00OyDSi7iUsuETNnr4wkqThmGWSYrUMxAmzRkOg19b2zsh31FHLNMkt3iPRF+6Jh/2IMMWAzGtjQOeAloWOZNLHP8G24MR7JWaL3va9CGVr58WlqC0vvuk="
git:
depth: false
services:
- docker
jdk:
- openjdk10
cache:
directories:
- $HOME/.m2
- $HOME/.sonar/cache
before_script:
- sudo service postgresql stop
- while sudo lsof -Pi :5432 -sTCP:LISTEN -t; do sleep 1; done
- 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