summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2017-09-25 23:15:39 +0200
committercyBerta <cyberta@riseup.net>2017-09-29 08:56:24 +0200
commitff8716d35cd659dfaa59bacf059009d2c2bbba12 (patch)
tree06915c4951deccfe4f4de73c42dfeb0c984fc15b /.gitlab-ci.yml
parente0aa1cd978f978ed3ac90adaf8415b60ce039c79 (diff)
update ics-openvpn: update Dockerfiles, add new api level 26 and update ndk
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml11
1 files changed, 7 insertions, 4 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a9e43504..730856ce 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -15,12 +15,15 @@ variables:
- docker-in-docker
services:
- docker:dind
- script:
- - docker --version
- - docker info
+
+ before script:
- >
export LAST_COMMIT=$(curl -s --header "PRIVATE-TOKEN: ${LEAP_CODE_O_MATIC_PRIVATE_TOKEN}" https://0xacab.org/api/v4/projects/578/pipelines |
python -c "import sys, json; print json.load(sys.stdin)[1]['sha']")
+
+ script:
+ - docker --version
+ - docker info
- .gitlab/build.sh ${DOCKER_IMAGE}
docker_image:sdk:
@@ -47,7 +50,7 @@ build:
script:
- git submodule sync --recursive
- git submodule update --init --recursive
- - ./gradlew assembleDebug
+ - ./gradlew clean assembleDebug
artifacts:
paths:
- app/build/outputs/