summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml7
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