From 23befe9cd55fba860a0fa3be33a600be3f43c4f7 Mon Sep 17 00:00:00 2001 From: Patrick J Cherry Date: Mon, 20 Mar 2017 14:18:53 +0000 Subject: Refactored to move test deps into before_scripts to accommodate differing psql versions. --- .gitlab-ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d4e0ca8..9774d4a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,8 +8,9 @@ test:jessie: &test stage: test variables: DISTRO: jessie - script: + before_script: - apt-get install libxml2-dev libxslt1-dev libpq-dev postgresql-server-dev-9.4 libsqlite3-dev rake + script: - bundle install -j $(nproc) --path vendor/bundle --binstubs - bundle exec rake test @@ -17,6 +18,8 @@ test:stretch: <<: *test variables: DISTRO: stretch + before_script: + - apt-get install libxml2-dev libxslt1-dev libpq-dev postgresql-server-dev-9.6 libsqlite3-dev rake package:jessie: &package image: $CI_REGISTRY/docker-images/layers:$DISTRO-deb -- cgit v1.2.1