forked from Activiti/Activiti
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (30 loc) · 814 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
33
34
35
36
37
38
39
language: java
jdk:
- openjdk11
cache:
directories:
- ${HOME}/.m2/repository
services:
- docker
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
branches:
only:
- master
- develop
before_script:
- echo MAVEN_OPTS=-Xmx1536m > ~/.mavenrc
# Enable integration tests
script:
- mvn verify -B
# 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"