forked from Activiti/Activiti
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
44 lines (38 loc) · 1.04 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
language: java
sudo: required
services:
- docker
jdk:
- openjdk11
cache:
directories:
- $HOME/.m2
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/4eabeeadee998a77068b
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: always
before_script:
- echo MAVEN_OPTS=-Xmx1536m > ~/.mavenrc
install: mvn jar:jar install:install
jobs:
include:
- stage: Check style
name: Check style
script:
mvn checkstyle:check -DskipCheckstyle=false
- stage: Build and test
name: Build and test
script:
mvn verify -B -DskipITs=false
# Send coverage data
after_success:
bash <(curl -s https://codecov.io/bash)
after_failure:
- cat **/target/surefire-reports/*.xml | grep -B 1 -A 10 "<error"
- cat **/target/failsafe-reports/*.xml | grep -B 1 -A 10 "<error"
cache:
directories:
- $HOME/.m2