diff options
author | Patrick J Cherry <patrick@bytemark.co.uk> | 2017-03-20 14:18:53 +0000 |
---|---|---|
committer | Patrick J Cherry <patrick@bytemark.co.uk> | 2017-03-20 14:18:53 +0000 |
commit | 23befe9cd55fba860a0fa3be33a600be3f43c4f7 (patch) | |
tree | b3f627689fb859758e94c16cdcd6b0745a199335 | |
parent | 083e19c1f7901b8acaddccb2c7c89776665df82a (diff) |
Refactored to move test deps into before_scripts to accommodate differing psql versions.
-rw-r--r-- | .gitlab-ci.yml | 5 |
1 files changed, 4 insertions, 1 deletions
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 |