forked from WeBankBlockchain/WeCross-Fabric1-Stub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
68 lines (59 loc) · 1.36 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
# safelist
branches:
only:
- /.*/
services:
- docker
matrix:
fast_finish: true
include:
- language: python
python: 3.6
dist: xenial
before_cache:
cache:
before_install:
script: |
bash .ci/ci_check_commit.sh
# ubuntu 16
- language: java
jdk: openjdk8
os: linux
dist: xenial
sudo: required
# ubuntu 16
- language: java
jdk: openjdk11
os: linux
dist: xenial
sudo: required
# ubuntu 18
- language: java
jdk: openjdk8
os: linux
dist: bionic
sudo: required
# ubuntu 18
- language: java
jdk: openjdk11
os: linux
dist: bionic
sudo: required
# - language: java
# jdk: openjdk11
# os: osx
# before_install:
# - brew install gradle && gradle wrapper
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/
before_install:
- gradle wrapper
script: |
bash .ci/ci_check.sh
after_success:
- bash <(curl -s https://codecov.io/bash)