aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml10
1 files changed, 4 insertions, 6 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 12003e9..8cae0ac 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,14 +1,9 @@
-before_script:
- - apt-get update -qy
- - apt-get install -y ruby-dev
- - gem install dpl
-
stages:
- test
- production
test:
- image: rust:latest
+ image: rust:alpine
stage: test
script:
- cargo install cargo2junit
@@ -25,6 +20,9 @@ production:
needs:
- test
script:
+ - apt-get update -qy
+ - apt-get install -y ruby-dev
+ - gem install dpl
- gem install faraday -v 1.8.0
- dpl --provider=heroku --app=$HEROKU_APP --api-key=$HEROKU_API_KEY
only: