ng-tracker/.gitlab-ci.yml

31 lines
450 B
YAML
Raw Normal View History

2018-05-04 17:54:46 +04:00
image: gradle:alpine
cache:
key: "$CI_PROJECT_ID"
paths:
- .gradle/
variables:
GRADLE_OPTS: "-Dorg.gradle.daemon=false"
#before_script:
build:
stage: build
script: gradle --build-cache assemble
cache:
key: "$CI_PROJECT_ID"
policy: push
2018-04-28 22:50:26 +04:00
paths:
2018-05-04 17:54:46 +04:00
- build
- .gradle
#test:
# stage: test
# script: gradle check
# cache:
# key: "$CI_PROJECT_ID"
# policy: pull
# paths:
# - build
# - .gradle