68 lines
1.3 KiB
YAML
68 lines
1.3 KiB
YAML
# This file is generated by GitLab CI
|
|
before_script:
|
|
- ./scripts/prepare_build.sh
|
|
- ruby -v
|
|
- which ruby
|
|
- gem install bundler --no-ri --no-rdoc
|
|
- cp config/gitlab.yml.example config/gitlab.yml
|
|
- cp config/gitlab_ci.yml.example config/gitlab_ci.yml
|
|
- touch log/application.log
|
|
- touch log/test.log
|
|
- bundle install --without postgres production --jobs $(nproc) "${FLAGS[@]}"
|
|
- bundle exec rake db:create RAILS_ENV=test
|
|
|
|
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:
|
|
- RAILS_ENV=test SIMPLECOV=true bundle exec rake spinach:project
|
|
tags:
|
|
- ruby
|
|
- mysql
|
|
|
|
spinach:other:
|
|
script:
|
|
- RAILS_ENV=test SIMPLECOV=true bundle exec rake spinach:other
|
|
tags:
|
|
- ruby
|
|
- mysql
|
|
|
|
teaspoon:
|
|
script:
|
|
- RAILS_ENV=test bundle exec teaspoon
|
|
tags:
|
|
- ruby
|
|
- mysql
|
|
|
|
rubocop:
|
|
script:
|
|
- bundle exec rubocop
|
|
tags:
|
|
- ruby
|
|
- mysql
|
|
|
|
brakeman:
|
|
script:
|
|
- bundle exec rake brakeman
|
|
tags:
|
|
- ruby
|
|
- mysql
|