diff options
author | Zeger-Jan van de Weg <zegerjan@gitlab.com> | 2016-04-15 21:22:52 +0200 |
---|---|---|
committer | Zeger-Jan van de Weg <zegerjan@gitlab.com> | 2016-04-15 21:32:29 +0200 |
commit | b48fc5fb06f233af6e68f3dbf041b93ba233f23b (patch) | |
tree | 7741878890dd295c11c9240525a2b9400b04fb3e | |
parent | 492019a2a32feefd82aa6d184716798a615da746 (diff) | |
download | gitlab-ce-clean-build-log-static-analytics.tar.gz |
Cleans up the build trace and speedup static testsclean-build-log-static-analytics
-rw-r--r-- | .gitlab-ci.yml | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1dc49ca336d..ab46803aebe 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -22,8 +22,7 @@ before_script: - cp config/gitlab.yml.example config/gitlab.yml - touch log/application.log - touch log/test.log - - retry bundle install --without postgres production --jobs $(nproc) "${FLAGS[@]}" - - RAILS_ENV=test bundle exec rake db:drop db:create db:schema:load db:migrate + - retry bundle install --without postgres production --jobs $(nproc) "${FLAGS[@]}" --quiet stages: - test @@ -32,55 +31,65 @@ stages: spec:feature: stage: test script: + - RAILS_ENV=test bundle exec rake db:drop db:create db:schema:load db:migrate - RAILS_ENV=test bundle exec rake assets:precompile 2>/dev/null - RAILS_ENV=test SIMPLECOV=true bundle exec rake spec:feature spec:api: stage: test script: + - RAILS_ENV=test bundle exec rake db:drop db:create db:schema:load db:migrate - RAILS_ENV=test SIMPLECOV=true bundle exec rake spec:api spec:models: stage: test script: + - RAILS_ENV=test bundle exec rake db:drop db:create db:schema:load db:migrate - RAILS_ENV=test SIMPLECOV=true bundle exec rake spec:models spec:lib: stage: test script: + - RAILS_ENV=test bundle exec rake db:drop db:create db:schema:load db:migrate - RAILS_ENV=test SIMPLECOV=true bundle exec rake spec:lib spec:services: stage: test script: + - RAILS_ENV=test bundle exec rake db:drop db:create db:schema:load db:migrate - RAILS_ENV=test SIMPLECOV=true bundle exec rake spec:services spec:other: stage: test script: + - RAILS_ENV=test bundle exec rake db:drop db:create db:schema:load db:migrate - RAILS_ENV=test SIMPLECOV=true bundle exec rake spec:other spinach:project:half: stage: test script: + - RAILS_ENV=test bundle exec rake db:drop db:create db:schema:load db:migrate - RAILS_ENV=test bundle exec rake assets:precompile 2>/dev/null - RAILS_ENV=test SIMPLECOV=true bundle exec rake spinach:project:half spinach:project:rest: stage: test script: + - RAILS_ENV=test bundle exec rake db:drop db:create db:schema:load db:migrate - RAILS_ENV=test bundle exec rake assets:precompile 2>/dev/null - RAILS_ENV=test SIMPLECOV=true bundle exec rake spinach:project:rest spinach:other: stage: test script: + - RAILS_ENV=test bundle exec rake db:drop db:create db:schema:load db:migrate - RAILS_ENV=test bundle exec rake assets:precompile 2>/dev/null - RAILS_ENV=test SIMPLECOV=true bundle exec rake spinach:other teaspoon: stage: test script: + - RAILS_ENV=test bundle exec rake db:drop db:create db:schema:load db:migrate - RAILS_ENV=test bundle exec teaspoon rubocop: |