Skip to content
代码片段 群组 项目
提交 d9133529 编辑于 作者: Jacob Vosmaer's avatar Jacob Vosmaer
浏览文件

More docker stuff in gitlab-ci.yml

上级 6c4961ae
No related branches found
No related tags found
无相关合并请求
# 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: before_script:
- ./scripts/prepare_build.sh - ./scripts/prepare_build.sh
- ruby -v - ruby -v
...@@ -10,9 +19,6 @@ before_script: ...@@ -10,9 +19,6 @@ before_script:
- bundle install --without postgres production --jobs $(nproc) "${FLAGS[@]}" - bundle install --without postgres production --jobs $(nproc) "${FLAGS[@]}"
- RAILS_ENV=test bundle exec rake db:drop db:create db:schema:load db:migrate - RAILS_ENV=test bundle exec rake db:drop db:create db:schema:load db:migrate
variables:
MYSQL_ALLOW_EMPTY_PASSWORD: "1"
spec:feature: spec:feature:
script: script:
- RAILS_ENV=test bundle exec rake assets:precompile 2>/dev/null - RAILS_ENV=test bundle exec rake assets:precompile 2>/dev/null
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册