travis-ci: setup database and config file before running tests
This commit is contained in:
parent
7b50608138
commit
a0ab456798
1 changed files with 4 additions and 0 deletions
|
@ -4,3 +4,7 @@ phps:
|
|||
script: cd tests && phpunit .
|
||||
notifications:
|
||||
irc: "irc.freenode.org#semanticscuttle"
|
||||
|
||||
before_script:
|
||||
- mysql -e 'create database semanticscuttle_test;'
|
||||
- cat data/config.php.dist | sed "s/'username'/'root'/" | sed "s/'password'/''/" | sed "s/'scuttle'/'semanticscuttle_test'/" > data/config.php
|
||||
|
|
Loading…
Reference in a new issue