forked from inqwell/jcalendar
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
30 lines (27 loc) · 1.79 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
language: java
cache:
directories:
- $HOME/.m2
# visual tests
services:
- xvfb
#download codacy jar
before_install:
- sudo apt-get install jq
- wget -O ~/codacy-coverage-reporter-assembly-latest.jar $(curl https://api.github.com/repos/codacy/codacy-coverage-reporter/releases/latest | jq -r .assets[0].browser_download_url)
after_success:
- mvn clean verify jacoco:report coveralls:report -Dmaven.javadoc.skip=true -B -q
- ls target/site/
- ls jcalendar/target/
- ls jcalendar-testing-api/target/
- ls jcalendar-demo/target/
- ls jcalendar-demo-testing-api/target/
- java -jar ~/codacy-coverage-reporter-assembly-latest.jar report -l Java -r jcalendar/target/site/jacoco/jacoco.xml --partial
- java -jar ~/codacy-coverage-reporter-assembly-latest.jar report -l Java -r jcalendar-demo/target/site/jacoco/jacoco.xml --partial
- java -jar ~/codacy-coverage-reporter-assembly-latest.jar report -l Java -r jcalendar-demo-testing-api/target/site/jacoco/jacoco.xml --partial
- java -jar ~/codacy-coverage-reporter-assembly-latest.jar report -l Java -r jcalendar-testing-api/target/site/jacoco/jacoco.xml --partial
- java -jar ~/codacy-coverage-reporter-assembly-latest.jar report -l Java -r jcalendar/target/site/jacoco-aggregate/jacoco.xml --partial
- java -jar ~/codacy-coverage-reporter-assembly-latest.jar report -l Java -r jcalendar-demo/target/site/jacoco-aggregate/jacoco.xml --partial
- java -jar ~/codacy-coverage-reporter-assembly-latest.jar report -l Java -r jcalendar-demo-testing-api/target/site/jacoco-aggregate/jacoco.xml --partial
- java -jar ~/codacy-coverage-reporter-assembly-latest.jar report -l Java -r jcalendar-testing-api/target/site/jacoco-aggregate/jacoco.xml --partial
- java -jar ~/codacy-coverage-reporter-assembly-latest.jar final