forked from crate/crate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshippable.yml
43 lines (37 loc) · 927 Bytes
/
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
#### Shippable CI CONFIG
---
language: java
jdk:
- openjdk11
git:
submodules: true
runtime:
nodePool: shippable_shared_aarch64
env:
global:
- CRATE_TESTS_SQL_REQUEST_TIMEOUT="20"
- CRATE_TESTS_NO_IPV6=true
- _JAVA_OPTIONS="-Xms1g -Xmx1g"
# Create and use a non-root user for the build
# to avoid errors in es submodule.
build:
ci:
- useradd -m ciuser
- CIUSER_BUILD_DIR=/home/ciuser/build
- mv $SHIPPABLE_BUILD_DIR $CIUSER_BUILD_DIR
- chown -R ciuser:ciuser /home/ciuser
- su -c "cd $CIUSER_BUILD_DIR && ./gradlew --no-daemon :sql:test" ciuser
cache: true
cache_dir_list:
- /home/ciuser/.m2
- /home/ciuser/.gradle/caches/
- /home/ciuser/.gradle/wrapper/
# Turn off email notifications
integrations:
notifications:
- integrationName: email
type: email
on_success: never
on_failure: never
on_cancel: never
on_pull_request: never