-
Notifications
You must be signed in to change notification settings - Fork 2
/
shippable.yml
56 lines (46 loc) · 1.07 KB
/
shippable.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
# See http://docs.shippable.com/ci/shippableyml/ for options
language: java
jdk:
- openjdk11
env:
global:
- # secure: xxx
- JRE_ARGS='-Djava.locale.providers=JRE,SPI -Duser.timezone=UTC'
# Multi-threaded builds currently dies in acceptance tests
- MVN_THREADS="-T1"
# Use MAVEN_ARGS: -Dtest={JavaClassName} to run just a single test
# skip tests on shippable with MAVEN_ARGS: "-Dtest=x"
build:
cache: true
cache_dir_list:
- $HOME/.m2
pre_ci_boot:
# image_name:
# image_tag:
# pull:
# options:
ci:
- mkdir -p shippable/testresults
- mkdir -p shippable/codecoverage
- export MAVEN_OPTS="-Xmx1280M"
- echo $MAVEN_OPTS
- mvn clean
- mvn install -B ${MVN_THREADS} ${JRE_ARGS} ${MAVEN_ARGS}
post_ci:
# - command1
on_success:
# - command1
on_failure:
# -
integrations:
notifications:
- integrationName: slack
type: slack
recipients:
- "#shippable-builds"
# branches:
# only:
# - main
# - dev
on_success: change
on_failure: always