forked from hierynomus/smbj
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
69 lines (63 loc) · 2.03 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
dist: trusty
sudo: required
services:
- docker
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
- $HOME/.android/build-cache
- $HOME/.sonar/cache
stages:
- touchstone
- test
- android-test
- integration
- name: quality
jobs:
include:
- stage: touchstone
language: java
jdk: oraclejdk8
- stage: test
language: java
jdk: openjdk8
- stage: test
language: java
jdk: openjdk9
- stage: test
language: java
jdk: oraclejdk9
- stage: android-test
language: android
android:
components:
- build-tools-27.0.3
- android-19
- extra
script: ./gradlew --build-file build-android.gradle build
- stage: integration
language: java
jdk: oraclejdk8
script: ./gradlew integrationTest
- stage: quality
language: java
jdk: oraclejdk8
before_install:
- pip install --user codecov
after_success:
- codecov
script: ./gradlew check
- stage: quality
language: java
jdk: oraclejdk8
script: ./gradlew sonarqube
if: type != pull_request
addons:
sonarcloud:
organization: "hierynomus-github"
token:
secure: "d97gMarjhrvgRcvnZlmKk4evHHfXQbw5NJWlpEMMxJyM0pksyfUaJBEljd6kG8bAm2f7yuBVlPJR3RQEBfGHh9QJg3fi0f7HPTE2DRCSYNBDZkSVKPEPnAeDlzyWAInPTNUV/0cdvNa7SBjmd7y/hWN6ihYF+e/WUQy5ChQ/H38rjoTAGsyGHQlPmd/+h7Ct3/cCqW3oUPUpvQIvH/Dq8QZt7pSy8FdtUXltHgZWdgvymDaxvRxb3KhBzo2hHWHBRXlo0MqnREx110UZ/zZOSXgxRY8/7oizWbgoPAZElBkKu40feoIUC6gqiimIbSk+VyaCEMRxfa3CLYmEYWx0BS1ClT1nuGuHnllxN7+WfcIfAYOMTAeLnFtMrV7+Ph26aR8PmRgHmxgpvAvEHmSRR6T9pk8VnI5OsiOhvFLmh2i2joTLCRfNmiVjM2gLlWSku6c0K5DemxpB++DKwZhmySlNVGuZg4HfqElRGM93dsQsxFGyeqCOqapVjXc0XBkDIkZfWu+9d4uMMqW7/2jUarLgtr/5/5+96tK28rFQuPicck80sKIxTotrtIDBZk7wHdoWjP84lf3H4CySCuRVpOU8+/3xEQZkIuuk5WOuqpsbl7LoHxddAdkhYq1e/NajiqL/670R9ui1EKOIqa+gwNspH9pzDWBzqFb4wSbB+M0="