aboutsummaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorMartin/Geno <geno+dev@fireorbit.de>2018-11-09 09:57:09 +0100
committerMartin/Geno <geno+dev@fireorbit.de>2018-11-09 09:57:16 +0100
commit3a714cf31e5037a9fea03e66c5a28546e4eaf55a (patch)
treef68f09c642539ac0c0b9837d55869f24de153a61 /.gitlab-ci.yml
parent5eb53bcf1d456f9199397eaf00651c5a17edae45 (diff)
ci add mini tests
Diffstat (limited to '')
-rw-r--r--.gitlab-ci.yml9
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