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