language: ruby
rvm: 2.4.1
before_script:
  - mysql -e 'create database incidents_test'
  - cp config/database.yml.example config/database.yml
script:
  - bundle exec rake db:reset
  - bundle exec rspec --fail-fast
branches:
  only:
    - master
notifications:
  email: false

language: ruby
rvm: 2.4.1
before_script:
  - mysql -e 'create database incidents_test'
  - cp config/database.yml.example config/database.yml
  - cp config/secrets.yml.example config/secrets.yml
script:
  - bundle exec rake db:reset
  - bundle exec rspec --fail-fast
branches:
  only:
    - master
notifications:
  email: false

Copy the new secrets file
Copy the new secrets file
