forked from distkv-project/distkv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
32 lines (27 loc) · 785 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
26
27
28
29
30
31
32
language: java
sudo: false # faster builds
jdk:
- openjdk8
cache:
directories:
- $HOME/.m2
# install all dependencies
# if true, skip all install
install: mvn clean install -DskipTests
script: "mvn cobertura:cobertura"
# define four parallel jobs
matrix:
include:
# for linux : This job is to test project
- os: linux
dist: xenial
script:
- travis_wait 20 mvn test
# for linux: This job to check code format.
- os: linux
dist: trusty
script:
- travis_wait 10 mvn checkstyle:check
after_success:
- bash <(curl -s https://codecov.io/bash) -t 4360524b-524c-4312-8f45-6a7d7a324ede
- bash <(curl -s https://oapi.dingtalk.com/robot/send?access_token=4751a9833880fef766481c835b9f156deaaf77594d77b7b2c7a79bef3de924dc)