Skip to content
Snippets Groups Projects
Verified Commit 3a35effa authored by Torsten Grote's avatar Torsten Grote
Browse files

Add CI stage for testing reproducibility

parent 97f4cd03
No related branches found
No related tags found
No related merge requests found
......@@ -11,10 +11,20 @@ before_script:
test:
script:
- ./gradlew animalSnifferMain animalSnifferTest
- ./gradlew test
- ./gradlew --no-daemon animalSnifferMain animalSnifferTest
- ./gradlew --no-daemon test
after_script:
# this file changes every time but should not be cached
after_script:
# these file change every time but should not be cached
- rm -f $GRADLE_USER_HOME/caches/modules-2/modules-2.lock
- rm -fr $GRADLE_USER_HOME/caches/*/plugin-resolution/
test_reproducible:
image: briar/reproducer:latest
script:
- cd .. && mv briar /opt/briar-reproducer/
- cd /opt/briar-reproducer
- ./reproduce.py ${CI_COMMIT_REF_NAME}
only:
- tags
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment