Added more CIs

This commit is contained in:
Erik C. Thauvin 2021-05-08 23:28:06 -07:00
parent 1a80f6ab89
commit 6813a882b5
3 changed files with 58 additions and 0 deletions

31
.gitlab-ci.yml Normal file
View file

@ -0,0 +1,31 @@
image: gradle:alpine
variables:
GRADLE_OPTS: "-Dorg.gradle.daemon=false"
before_script:
- export GRADLE_USER_HOME=`pwd`/.gradle
stages:
- build
- test
build:
stage: build
script: ./gradlew --build-cache assemble
cache:
key: "$CI_COMMIT_REF_NAME"
policy: push
paths:
- build
- .gradle
test:
stage: test
script: ./gradlew check
cache:
key: "$CI_COMMIT_REF_NAME"
policy: pull
paths:
- build
- .gradle