From f97d4c29bfb15e16b028a665f7e930f8eb42f01f Mon Sep 17 00:00:00 2001 From: Mauricio Giacomini Girardello <mauriciogiacomini4@gmail.com> Date: Sun, 13 Sep 2015 17:07:08 -0300 Subject: [PATCH] change gitlab-ci configuration --- .gitlab-ci.yml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0c13a4b0..6d3d8406 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,12 +1,8 @@ -before_script: - - bundle install - -stages: - - test - test: script: - - bundle exec rake db:migrate RAILS_ENV=test - - bundle exec rake test RAILS_ENV=test - only: - - master + - apt-get update -qy + - apt-get install -y nodejs + - bundle install --path /cache + - bundle exec rake db:create RAILS_ENV=test + - bundle exec rake test + -- GitLab