Commit b5e7096c authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Split rspec and spinach tests in parallel

parent 94f130cb
...@@ -9,35 +9,57 @@ before_script: ...@@ -9,35 +9,57 @@ before_script:
- touch log/test.log - touch log/test.log
- bundle install --without postgres production --jobs $(nproc) "${FLAGS[@]}" - bundle install --without postgres production --jobs $(nproc) "${FLAGS[@]}"
- bundle exec rake db:create RAILS_ENV=test - bundle exec rake db:create RAILS_ENV=test
Rspec:
spec:feature:
script:
- RAILS_ENV=test SIMPLECOV=true bundle exec rake spec:feature
tags:
- ruby
- mysql
spec:api:
script:
- RAILS_ENV=test SIMPLECOV=true bundle exec rake spec:api
tags:
- ruby
- mysql
spec:other:
script:
- RAILS_ENV=test SIMPLECOV=true bundle exec rake spec:other
tags:
- ruby
- mysql
spinach:project:
script: script:
- RAILS_ENV=test SIMPLECOV=true bundle exec rake spec - RAILS_ENV=test SIMPLECOV=true bundle exec rake spinach:project
tags: tags:
- ruby - ruby
- mysql - mysql
Spinach: spinach:other:
script: script:
- RAILS_ENV=test SIMPLECOV=true bundle exec rake spinach - RAILS_ENV=test SIMPLECOV=true bundle exec rake spinach:other
tags: tags:
- ruby - ruby
- mysql - mysql
Jasmine: jasmine:ci:
script: script:
- RAILS_ENV=test SIMPLECOV=true bundle exec rake jasmine:ci - RAILS_ENV=test SIMPLECOV=true bundle exec rake jasmine:ci
tags: tags:
- ruby - ruby
- mysql - mysql
Rubocop: rubocop:
script: script:
- bundle exec rubocop - bundle exec rubocop
tags: tags:
- ruby - ruby
- mysql - mysql
Brakeman: brakeman:
script: script:
- bundle exec rake brakeman - bundle exec rake brakeman
tags: tags:
......
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