-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path.travis.yml
36 lines (29 loc) · 1.01 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
language: java
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
jdk:
- oraclejdk8
env:
global:
before_install:
script:
# disable integration and performance tests, since we don't have a MarkLogic instance to use
- ./gradlew check -PskipIntegrationTest -PskipPerformanceTest
after_success:
# codecov.io integration https://codecov.io/gh/marklogic-community/xqsync/branch/development
- bash <(curl -s https://codecov.io/bash)
# sonarqube.com https://sonarqube.com/dashboard?id=com.marklogic%3Amarklogic-corb%3Adevelopment
- ./gradlew sonarqube -Dsonar.login=$SONAR_TOKEN -Dsonar.host.url=https://sonarcloud.io -Dsonar.organization=hansenmc-github
# codacy https://www.codacy.com/app/mads-hansen/corb2/dashboard
- ./gradlew codacyUpload
# coveralls.io
- ./gradlew jacocoTestReport coveralls -PskipIntegrationTest -PskipPerformanceTest
addons:
sonarqube:
branches:
- master
- develop