21
1
Fork 0
mirror of https://github.com/Evolix/chexpire.git synced 2024-04-25 21:40:49 +02:00

configure MySQL for travis

This commit is contained in:
Jérémy Lecour 2019-08-17 01:40:55 +02:00
parent 83a824b64f
commit d3d6230347
2 changed files with 7 additions and 1 deletions

View file

@ -23,7 +23,8 @@ services:
- mysql
before_install:
- cp config/database.example.yml config/database.yml
- mysql -e 'CREATE DATABASE chexpire_test;'
- cp config/database.travis.yml config/database.yml
- cp config/secrets.example.yml config/secrets.yml
# Test configuration loaded from chexpire.defaults.yml,

View file

@ -0,0 +1,5 @@
test:
adapter: mysql2
database: chexpire_test
username: travis
encoding: utf8