Skip to content

Instantly share code, notes, and snippets.

@fkorotkov
Created January 7, 2018 16:42
Show Gist options
  • Save fkorotkov/e94b3059f80c6c45789514602a82a284 to your computer and use it in GitHub Desktop.
Save fkorotkov/e94b3059f80c6c45789514602a82a284 to your computer and use it in GitHub Desktop.
Cirrus CI config of performance testing build for https://medium.com/p/37eb1af7fcde
container:
image: gradle:4.4.1-jdk8
cpu: 4
memory: 12G
no_caching_task:
dist_script: gradle dist --no-build-cache
global_caching_task:
gradle_cache:
folder: ~/.gradle/caches
dist_script: gradle dist --no-build-cache
cleanup_before_cache_script:
- rm -rf ~/.gradle/caches/$GRADLE_VERSION/
- find ~/.gradle/caches/ -name "*.lock" -type f -delete
build_cache_task:
gradle_cache:
folder: ~/.gradle/caches
dist_script: gradle dist
cleanup_before_cache_script:
- rm -rf ~/.gradle/caches/$GRADLE_VERSION/
- find ~/.gradle/caches/ -name "*.lock" -type f -delete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment