summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2016-10-15 23:14:52 +0200
committervarac <varacanero@zeromail.org>2016-10-18 21:17:13 +0200
commit6a3756fda5bbc5fe571c3e919eca43c09412048d (patch)
tree259b15904e27aff8b46d7d2960f1bd9b45792c58 /.gitlab-ci.yml
parent03e7a5ddd745524a392ec4ad4c0773cfafbef1dd (diff)
Use docker for CI testing
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml17
1 files changed, 8 insertions, 9 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 77aa8d6d..c6cbb666 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -7,40 +7,39 @@ stages:
- syntax
- build
-# doesn't work in docker atm
-# image: ruby:2.1
+image: leapcode/ruby
lint:
stage: syntax
script:
- - bundle exec rake lint
+ - /usr/local/bin/bundle exec rake lint
syntax:
stage: syntax
script:
- - bundle exec rake syntax
+ - /usr/local/bin/bundle exec rake syntax
validate:
stage: syntax
script:
- - bundle exec rake validate
+ - /usr/local/bin/bundle exec rake validate
templates:
stage: syntax
script:
- - bundle exec rake templates
+ - /usr/local/bin/bundle exec rake templates
catalog:
stage: syntax
script:
- - bundle exec rake catalog
+ - /usr/local/bin/bundle exec rake catalog
#rspec:
# stage: rspec
# script:
-# - bundle exec rake spec
+# - /usr/local/bin/bundle exec rake spec
build:
stage: build
script:
- - unbuffer ./ci-build.sh | ts -s
+ - /usr/bin/unbuffer ./ci-build.sh | /usr/bin/ts -s