Skip to content
Snippets Groups Projects
Forked from briar / briar
3621 commits behind the upstream repository.
.gitlab-ci.yml 650 B
image: briar/ci-image-android:latest

test:
  before_script:
    - set -e
    - export GRADLE_USER_HOME=$PWD/.gradle

  cache:
    paths:
      - .gradle/wrapper
      - .gradle/caches

  script:
    - ./gradlew --no-daemon animalSnifferMain animalSnifferTest
    - ./gradlew --no-daemon test

  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 /opt/briar-reproducer
    - ./reproduce.py ${CI_COMMIT_REF_NAME}

  only:
    - tags