summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2017-03-08 19:55:13 +0100
committervarac <varacanero@zeromail.org>2017-03-08 19:55:13 +0100
commit03dcf4fcdf67f02dd913e85e89bbd6cc2a377bd9 (patch)
treea88dbc49a78b5951b94a201a74a3a9f29906a3f6
parentc32a6f0f0793dce999731b61aa3ec64568a25fdd (diff)
Run test stage at beginning of pipeline
-rw-r--r--.gitlab-ci.yml8
1 files changed, 3 insertions, 5 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index aeee721..dd6f1bb 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,8 +1,6 @@
-# Todo:
-# - Move test stage at the beginning of pipeline once packaging is done
stages:
- - package
- test
+ - package
.job_template: &job_definition
@@ -12,7 +10,7 @@ stages:
- "pwd; git describe"
- build-build-package
# Test the package with lintian
- - build-test-lintian --fail-on-warnings
+ - build-test-lintian
- upload-package
# sleep 1h to allow debugging of running container
#- sleep 3600
@@ -26,7 +24,7 @@ stages:
- 'results/*'
test:
- image: leapcode/soledad:latest
+ image: "0xacab.org:4567/leap/gitlab-buildpackage:test_jessie_amd64"
stage: test
script:
- tox --recreate