blob: db1cda470a876ec0254aeac5f3ddecd8179a6b74 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
before_script:
- export PATH=~/bin:/usr/local/bin:/usr/bin:/bin
- ruby -v
- gem install bundler
- cp config/database.yml.mysql config/database.yml
- cp config/application.yml.example config/application.yml
- 'sed "s/username\:.*$/username\: runner/" -i config/database.yml'
- 'sed "s/password\:.*$/password\: ''password''/" -i config/database.yml'
- bundle --without postgres
- RAILS_ENV=test bundle exec rake db:setup
specs:
script: SIMPLECOV=true RAILS_ENV=test bundle exec rake spec
rubocop:
script: bundle exec rubocop
brakeman:
script: bundle exec brakeman
|