diff options
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 020210902..820d72a5a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,6 +7,7 @@ cache: stages: - build + - test before_script: - export GRADLE_USER_HOME=$PWD/.gradle @@ -22,6 +23,14 @@ build: paths: - build/outputs/ +build: + stage: test + script: + - ./gradlew lint + artifacts: + paths: + - build/outputs/ + after_script: # this file changes every time but should not be cached - rm -f $GRADLE_USER_HOME/caches/modules-2/modules-2.lock |