From 6a3756fda5bbc5fe571c3e919eca43c09412048d Mon Sep 17 00:00:00 2001 From: varac Date: Sat, 15 Oct 2016 23:14:52 +0200 Subject: Use docker for CI testing --- .gitlab-ci.yml | 17 ++++++++--------- 1 file 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 -- cgit v1.2.3