- Notifications
You must be signed in to change notification settings - Fork 16
/
Copy path.travis.yml
25 lines (25 loc) · 638 Bytes
/
.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
language: java
jdk:
- oraclejdk8
sudo: false
install: true
addons:
sonarqube:
organization: "json-schema-java-ui"
token:
secure: $SONAR_TOKEN
install:
- mvn test-compile -DskipTests=true -Dmaven.javadoc.skip=true -B -V
script:
- mvn org.jacoco:jacoco-maven-plugin:prepare-agent package sonar:sonar -Dsonar.host.url=https://sonarcloud.io -Dsonar.organization=json-schema-java-ui -Dsonar.login=$SONAR_TOKEN
cache:
directories:
- '$HOME/.m2/repository'
- '$HOME/.sonar/cache'
after_success:
- mvn coveralls:report
deploy:
provider: bintray
user: $BINTRAY_USER
key: $BINTRAY_KEY
file: ./package.json