merge spec and spinach jobs
This commit is contained in:
parent
683770f35d
commit
e862af9537
1 changed files with 4 additions and 97 deletions
101
.gitlab-ci.yml
101
.gitlab-ci.yml
|
@ -137,116 +137,23 @@ bundler:audit:
|
||||||
|
|
||||||
# Ruby 2.1 jobs
|
# Ruby 2.1 jobs
|
||||||
|
|
||||||
spec:feature:ruby21:
|
spec:ruby21:
|
||||||
image: ruby:2.1
|
image: ruby:2.1
|
||||||
script:
|
script:
|
||||||
- RAILS_ENV=test bundle exec rake assets:precompile 2>/dev/null
|
- RAILS_ENV=test bundle exec rake assets:precompile 2>/dev/null
|
||||||
- RAILS_ENV=test SIMPLECOV=true bundle exec rake spec:feature
|
- RAILS_ENV=test SIMPLECOV=true bundle exec rake spec
|
||||||
tags:
|
tags:
|
||||||
- ruby
|
- ruby
|
||||||
- mysql
|
- mysql
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
spec:api:ruby21:
|
spinach:ruby21:
|
||||||
image: ruby:2.1
|
image: ruby:2.1
|
||||||
script:
|
script:
|
||||||
- RAILS_ENV=test SIMPLECOV=true bundle exec rake spec:api
|
- RAILS_ENV=test SIMPLECOV=true bundle exec rake spinach
|
||||||
tags:
|
tags:
|
||||||
- ruby
|
- ruby
|
||||||
- mysql
|
- mysql
|
||||||
only:
|
only:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
spec:models:ruby21:
|
|
||||||
image: ruby:2.1
|
|
||||||
script:
|
|
||||||
- RAILS_ENV=test SIMPLECOV=true bundle exec rake spec:models
|
|
||||||
tags:
|
|
||||||
- ruby
|
|
||||||
- mysql
|
|
||||||
only:
|
|
||||||
- master
|
|
||||||
|
|
||||||
spec:lib:ruby21:
|
|
||||||
image: ruby:2.1
|
|
||||||
script:
|
|
||||||
- RAILS_ENV=test SIMPLECOV=true bundle exec rake spec:lib
|
|
||||||
tags:
|
|
||||||
- ruby
|
|
||||||
- mysql
|
|
||||||
only:
|
|
||||||
- master
|
|
||||||
|
|
||||||
spec:services:ruby21:
|
|
||||||
image: ruby:2.1
|
|
||||||
script:
|
|
||||||
- RAILS_ENV=test SIMPLECOV=true bundle exec rake spec:services
|
|
||||||
tags:
|
|
||||||
- ruby
|
|
||||||
- mysql
|
|
||||||
only:
|
|
||||||
- master
|
|
||||||
|
|
||||||
spec:benchmark:ruby21:
|
|
||||||
image: ruby:2.1
|
|
||||||
script:
|
|
||||||
- RAILS_ENV=test bundle exec rake spec:benchmark
|
|
||||||
tags:
|
|
||||||
- ruby
|
|
||||||
- mysql
|
|
||||||
allow_failure: true
|
|
||||||
only:
|
|
||||||
- master
|
|
||||||
|
|
||||||
spec:other:ruby21:
|
|
||||||
image: ruby:2.1
|
|
||||||
script:
|
|
||||||
- RAILS_ENV=test SIMPLECOV=true bundle exec rake spec:other
|
|
||||||
tags:
|
|
||||||
- ruby
|
|
||||||
- mysql
|
|
||||||
only:
|
|
||||||
- master
|
|
||||||
|
|
||||||
spinach:project:half:ruby21:
|
|
||||||
image: ruby:2.1
|
|
||||||
script:
|
|
||||||
- RAILS_ENV=test SIMPLECOV=true bundle exec rake spinach:project:half
|
|
||||||
tags:
|
|
||||||
- ruby
|
|
||||||
- mysql
|
|
||||||
only:
|
|
||||||
- master
|
|
||||||
|
|
||||||
spinach:project:rest:ruby21:
|
|
||||||
image: ruby:2.1
|
|
||||||
script:
|
|
||||||
- RAILS_ENV=test SIMPLECOV=true bundle exec rake spinach:project:rest
|
|
||||||
tags:
|
|
||||||
- ruby
|
|
||||||
- mysql
|
|
||||||
only:
|
|
||||||
- master
|
|
||||||
|
|
||||||
spinach:other:ruby21:
|
|
||||||
image: ruby:2.1
|
|
||||||
script:
|
|
||||||
- RAILS_ENV=test SIMPLECOV=true bundle exec rake spinach:other
|
|
||||||
tags:
|
|
||||||
- ruby
|
|
||||||
- mysql
|
|
||||||
only:
|
|
||||||
- master
|
|
||||||
|
|
||||||
bundler:audit:ruby21:
|
|
||||||
image: ruby:2.1
|
|
||||||
script:
|
|
||||||
- "bundle exec bundle-audit update"
|
|
||||||
- "bundle exec bundle-audit check"
|
|
||||||
tags:
|
|
||||||
- ruby
|
|
||||||
- mysql
|
|
||||||
allow_failure: true
|
|
||||||
only:
|
|
||||||
- master
|
|
||||||
|
|
Loading…
Reference in a new issue