More docker stuff in gitlab-ci.yml
This commit is contained in:
parent
6c4961ae48
commit
d91335293a
1 changed files with 10 additions and 4 deletions
|
@ -1,4 +1,13 @@
|
|||
# This file is generated by GitLab CI
|
||||
image: "ruby:2.1"
|
||||
|
||||
services:
|
||||
- mysql:latest
|
||||
- postgres:latest
|
||||
- redis:latest
|
||||
|
||||
variables:
|
||||
MYSQL_ALLOW_EMPTY_PASSWORD: "1"
|
||||
|
||||
before_script:
|
||||
- ./scripts/prepare_build.sh
|
||||
- ruby -v
|
||||
|
@ -10,9 +19,6 @@ before_script:
|
|||
- bundle install --without postgres production --jobs $(nproc) "${FLAGS[@]}"
|
||||
- RAILS_ENV=test bundle exec rake db:drop db:create db:schema:load db:migrate
|
||||
|
||||
variables:
|
||||
MYSQL_ALLOW_EMPTY_PASSWORD: "1"
|
||||
|
||||
spec:feature:
|
||||
script:
|
||||
- RAILS_ENV=test bundle exec rake assets:precompile 2>/dev/null
|
||||
|
|
Loading…
Reference in a new issue