-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy path.cirrus.yml
29 lines (29 loc) · 1.01 KB
/
.cirrus.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
compute_engine_instance:
image_project: cirrus-images # GCP project
image: family/docker-builder # family or a full image name.
platform: linux
cpu: 8 # Defaults to 2 CPUs.
memory: 24G # Defaults to 4G.
disk: 100 # By default, uses the smallest disk size required by the image.
nested_virtualization: true # optional. Whether to enable Intel VT-x. Defaults to false.
task:
name: All Tests
timeout_in: 2h
environment:
HOME: /root
GRADLE_USER_HOME: /root/.gradle
version_script:
- java -version
- docker --version
build_script: ./gradlew clean -xtest assemble publishToMavenLocal
cleanup_before_cache_script:
- rm -rf ~/.gradle/caches/transforms-1
- rm -rf ~/.gradle/caches/journal-1
- find ~/.gradle/caches/ -name "*.lock" -type f -delete
integration_tests_script: ./gradlew integrationTest --stacktrace --info
other_tests_script: ./gradlew test --stacktrace --info
always:
junit_artifacts:
path: "**/test-results/**/*.xml"
type: text/html
format: junit