diff options
author | Hans de Graaff <graaff@gentoo.org> | 2019-07-24 07:59:10 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2019-07-24 07:59:10 +0200 |
commit | cfed7ebce2049e8276122794a59c58a2eab473b9 (patch) | |
tree | 18b508a8c1bd19aaea628e4381ffb02d6378f030 | |
parent | Fix rubocop Layout/TrailingBlankLines (diff) | |
download | glsamaker-cfed7ebce2049e8276122794a59c58a2eab473b9.tar.gz glsamaker-cfed7ebce2049e8276122794a59c58a2eab473b9.tar.bz2 glsamaker-cfed7ebce2049e8276122794a59c58a2eab473b9.zip |
Set up test database on travis
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
-rw-r--r-- | .travis.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index ff52bcc..d511858 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,6 +11,13 @@ branches: only: - master +addons: + mariadb: '10.2' + +before_script: + - cp config/database.yml.mysql config/database.yml + - mysql -e 'CREATE DATABASE glsamaker_test;' + script: - bundle exec rubocop - bundle exec rake test RAILS_ENV=test |