From 8719900613a00cd6d7f09cb6a4ef795feec7309f Mon Sep 17 00:00:00 2001 From: Christoph Haas Date: Tue, 14 Aug 2018 15:01:21 +0200 Subject: [PATCH] Gitlab CI added for automated tests --- .gitlab-ci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..1786035 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,9 @@ +--- +test: + stage: test + script: + - apt-get update -qy + - apt-get install -y python-psycopg2 ruby imagemagick + - bundle install --path /cache + - bundle exec rake db:create RAILS_ENV=test + - bundle exec rake test