Another go

This commit is contained in:
Timothy Warren 2014-02-14 22:27:01 -05:00
parent 1c4373f951
commit 8da96c7c2f
2 changed files with 2 additions and 3 deletions

View File

@ -12,9 +12,8 @@ before_script:
- sh -c "psql -c 'DROP DATABASE IF EXISTS test;' -U postgres" - sh -c "psql -c 'DROP DATABASE IF EXISTS test;' -U postgres"
- sh -c "psql -c 'create database test;' -U postgres" - sh -c "psql -c 'create database test;' -U postgres"
- sh -c "mysql -e 'create database IF NOT EXISTS test;'" - sh -c "mysql -e 'create database IF NOT EXISTS test;'"
- sh -c "cd tests"
script: phpunit . script: cd tests && phpunit
matrix: matrix:
allow_failures: allow_failures:

View File

@ -73,7 +73,7 @@ class Query_TestCase extends PHPUnit_Framework_TestCase {
* Unit test bootstrap - Using phpunit * Unit test bootstrap - Using phpunit
*/ */
define('QTEST_DIR', realpath(dirname(__FILE__))); define('QTEST_DIR', realpath(dirname(__FILE__)));
define('QBASE_DIR', realpath("../").'/'); define('QBASE_DIR', realpath(QTEST_DIR.'/../') . '/');
define('QDS', DIRECTORY_SEPARATOR); define('QDS', DIRECTORY_SEPARATOR);
// Include db classes // Include db classes