aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorPatrick J Cherry <patrick@bytemark.co.uk>2017-03-20 22:00:25 +0000
committerPatrick J Cherry <patrick@bytemark.co.uk>2017-03-20 22:00:25 +0000
commite56dc80cbf0bb21e7232173bed465800a1a59e79 (patch)
tree721a7fd346f60eadfbcc71f43292d791a9498c0b /.gitlab-ci.yml
parent1a2ad3bfd7a08b578f675f8a99ff78a5e8d6eae7 (diff)
Updated Gemfile to pull gems in Debian into a separate group
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml7
1 files changed, 4 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a153ec7..cc9f55e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -9,9 +9,10 @@ test:jessie: &test
variables:
DISTRO: jessie
before_script:
- - apt-get install libpq-dev postgresql-server-dev-9.4 libsqlite3-dev rake ruby-log4r ruby-ipaddress ruby-json ruby-sanitize ruby-rubymail thin ruby-haml ruby-haml-contrib ruby-redcloth ruby-rack ruby-rack-protection ruby-rack-flash3 ruby-tilt ruby-sinatra ruby-locale ruby-rack-test ruby-webmock ruby-timecop ruby-test-unit
+ - apt install libpq-dev postgresql-server-dev-9.4
script:
- - bundle install -j $(nproc) --path vendor/bundle --without development,test
+ - apt install libsqlite3-dev rake ruby-log4r ruby-ipaddress ruby-json ruby-sanitize ruby-rubymail thin ruby-haml ruby-haml-contrib ruby-redcloth ruby-rack ruby-rack-protection ruby-rack-flash3 ruby-tilt ruby-sinatra ruby-locale ruby-rack-test ruby-webmock ruby-timecop ruby-test-unit
+ - bundle install -j $(nproc) --path vendor/bundle --without development
- bundle exec rake test
test:stretch:
@@ -19,7 +20,7 @@ test:stretch:
variables:
DISTRO: stretch
before_script:
- - apt-get install libpq-dev postgresql-server-dev-9.6 libsqlite3-dev rake ruby-log4r ruby-ipaddress ruby-json ruby-sanitize ruby-rubymail thin ruby-haml ruby-haml-contrib ruby-redcloth ruby-rack ruby-rack-protection ruby-rack-flash3 ruby-tilt ruby-sinatra ruby-locale ruby-rack-test ruby-webmock ruby-timecop ruby-test-unit
+ - apt install libpq-dev postgresql-server-dev-9.6
package:jessie: &package
image: $CI_REGISTRY/docker-images/layers:$DISTRO-deb