Commit 2494569d authored by Kamil Trzcinski's avatar Kamil Trzcinski

Test

parent 713bbed7
...@@ -20,7 +20,7 @@ variables: ...@@ -20,7 +20,7 @@ variables:
before_script: before_script:
- source ./scripts/prepare_build.sh - source ./scripts/prepare_build.sh
- cp config/gitlab.yml.example config/gitlab.yml - cp config/gitlab.yml.example config/gitlab.yml
- retry gem install bundler #- retry gem install bundler
- retry bundle install --without postgres production --jobs $(nproc) "${FLAGS[@]}" - retry bundle install --without postgres production --jobs $(nproc) "${FLAGS[@]}"
- '[ "$USE_DB" != "true" ] || bundle exec rake db:drop db:create db:schema:load db:migrate' - '[ "$USE_DB" != "true" ] || bundle exec rake db:drop db:create db:schema:load db:migrate'
...@@ -31,7 +31,10 @@ stages: ...@@ -31,7 +31,10 @@ stages:
test-bundler: test-bundler:
stage: build stage: build
variables:
USE_DB: "false"
script: script:
- retry gem install bundler
- bundle exec bundle --version - bundle exec bundle --version
prepare: prepare:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment