2017-10-03 21:23:57 +00:00
|
|
|
---
|
|
|
|
language: ruby
|
2017-10-04 18:38:19 +00:00
|
|
|
services:
|
|
|
|
- mysql
|
2017-10-04 18:46:11 +00:00
|
|
|
env:
|
2018-01-31 13:43:07 +00:00
|
|
|
global:
|
|
|
|
- DATABASE_URL=mysql2://root:@localhost/lobsters_dev
|
|
|
|
- RAILS_ENV=test
|
2019-03-20 12:45:04 +00:00
|
|
|
before_install:
|
|
|
|
- gem install bundler
|
2017-10-04 18:38:19 +00:00
|
|
|
before_script:
|
2017-10-05 21:14:43 +00:00
|
|
|
- ./bin/rails db:create
|
|
|
|
- ./bin/rails db:schema:load
|
2018-03-21 20:42:30 +00:00
|
|
|
script:
|
|
|
|
- bundle exec rspec
|
2018-12-09 15:52:00 +00:00
|
|
|
- bundle exec rubocop
|
|
|
|
- bundle exec ruumba
|