Another go
This commit is contained in:
parent
1c4373f951
commit
8da96c7c2f
@ -12,9 +12,8 @@ before_script:
|
||||
- sh -c "psql -c 'DROP DATABASE IF EXISTS test;' -U postgres"
|
||||
- sh -c "psql -c 'create database test;' -U postgres"
|
||||
- sh -c "mysql -e 'create database IF NOT EXISTS test;'"
|
||||
- sh -c "cd tests"
|
||||
|
||||
script: phpunit .
|
||||
script: cd tests && phpunit
|
||||
|
||||
matrix:
|
||||
allow_failures:
|
||||
|
@ -73,7 +73,7 @@ class Query_TestCase extends PHPUnit_Framework_TestCase {
|
||||
* Unit test bootstrap - Using phpunit
|
||||
*/
|
||||
define('QTEST_DIR', realpath(dirname(__FILE__)));
|
||||
define('QBASE_DIR', realpath("../").'/');
|
||||
define('QBASE_DIR', realpath(QTEST_DIR.'/../') . '/');
|
||||
define('QDS', DIRECTORY_SEPARATOR);
|
||||
|
||||
// Include db classes
|
||||
|
Loading…
Reference in New Issue
Block a user