forked from YongChengHQ/yongan-java-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
123 lines (113 loc) · 2.38 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
# safe list
branches:
only:
- /.*/
-
jobs:
fast_finish: true
include:
- language: python
python: 3.6
dist: bionic
before_cache:
cache:
before_install:
script: |
bash .ci/ci_check_commit.sh
# ubuntu 16, openjdk 8
- language: java
jdk: openjdk8
os: linux
dist: xenial
sudo: required
env:
- CACHE_NAME=ubuntu16_openjdk8
# ubuntu 16, openjdk 11
- language: java
jdk: openjdk11
os: linux
dist: xenial
sudo: required
env:
- CACHE_NAME=ubuntu16_openjdk11
# ubuntu 18, openjdk 8
- language: java
jdk: openjdk8
os: linux
dist: bionic
sudo: required
env:
- CACHE_NAME=ubuntu18_openjdk8
# ubuntu 18, openjdk 11
- language: java
jdk: openjdk11
os: linux
dist: bionic
sudo: required
env:
- CACHE_NAME=ubuntu18_openjdk11
# ubuntu 16, openjdk 14
- language: java
jdk: openjdk14
os: linux
dist: xenial
sudo: required
env:
- CACHE_NAME=ubuntu16_openjdk14
# ubuntu 18, openjdk 14
- language: java
jdk: openjdk14
os: linux
dist: bionic
sudo: required
env:
- CACHE_NAME=ubuntu18_openjdk14
# ubuntu 18, oraclejdk 14
- language: java
jdk: oraclejdk14
os: linux
dist: bionic
sudo: required
env:
- CACHE_NAME=ubuntu18_oraclejdk14
# ubuntu 18, oraclejdk 11
- language: java
jdk: oraclejdk11
os: linux
dist: bionic
sudo: required
env:
- CACHE_NAME=ubuntu18_oraclejdk11
# ubuntu 16, oraclejdk 11
- language: java
jdk: oraclejdk11
os: linux
dist: xenial
sudo: required
env:
- CACHE_NAME=ubuntu16_oraclejdk11
# ubuntu 16, oraclejdk 14
- language: java
jdk: oraclejdk14
os: linux
dist: xenial
sudo: required
env:
- CACHE_NAME=ubuntu16_oraclejdk14
addons:
apt:
packages:
- openssl
- libssl-dev
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/
script: |
bash .ci/ci_check.sh
after_success:
- ./gradlew jacocoTestReport
- bash <(curl -s https://codecov.io/bash)