Added command to create database
Evidently @travis-ci no longer includes the `test` database in MySQL by default. Added the command to create said database before importing SQL.
This commit is contained in:
parent
e19d3bd8b5
commit
4645ac95eb
1 changed files with 1 additions and 0 deletions
|
@ -33,6 +33,7 @@ before_script:
|
||||||
- echo "[uopz]" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
|
- echo "[uopz]" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
|
||||||
- echo "uopz.overloads=1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
|
- echo "uopz.overloads=1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
|
||||||
- cat ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
|
- cat ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
|
||||||
|
- mysql -e 'create database test;'
|
||||||
- mysql test < tests/schema.sql
|
- mysql test < tests/schema.sql
|
||||||
- mkdir -p build/logs
|
- mkdir -p build/logs
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue