diff options
author | Robert Speicher <rspeicher@gmail.com> | 2016-04-07 15:01:19 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2016-04-07 15:01:19 -0400 |
commit | a84b7fbcf107cceb4a7c92ba57821163f40a0e92 (patch) | |
tree | 163ba7a4cbea1339f62afbfc8b24e1ddd95b0cd7 | |
parent | 6da54f2e8f847361e12373fc4be3ec918cc6b901 (diff) | |
download | gitlab-ce-a84b7fbcf107cceb4a7c92ba57821163f40a0e92.tar.gz |
Update `gitlab-ci.yml` so builds run
-rw-r--r-- | .gitlab-ci.yml | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a8da3de83f8..36cca5b27fe 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,17 @@ # This file is generated by GitLab CI + +services: + - mysql:latest + - redis:latest + +cache: + key: "ruby21" + paths: + - vendor + +variables: + MYSQL_ALLOW_EMPTY_PASSWORD: "1" + before_script: - ./scripts/prepare_build.sh - ruby -v @@ -8,7 +21,7 @@ before_script: - touch log/application.log - touch log/test.log - bundle install --without postgres production --jobs $(nproc) "${FLAGS[@]}" - - bundle exec rake db:reset db:create RAILS_ENV=test + - RAILS_ENV=test bundle exec rake db:drop db:create db:schema:load db:migrate spec:feature: script: |