.travis.yml
dist: xenial
language: ruby
rvm:
- 2.7.6
env: SECRET_KEY_BASE=859384 RUN_SLOW_TESTS=true
before_install:
- mysql -e 'CREATE DATABASE scraping_test;'
before_script:
- cp config/database.travis.yml config/database.yml
- bundle exec rake db:setup
- docker pull openaustralia/buildstep
script:
- bundle exec rake
# Also fail if any static type checking fails
- bundle exec srb
- bundle exec rubocop
- bundle exec haml-lint
after_success:
- bundle exec codeclimate-test-reporter
services:
- docker
- redis
- mysql