1
0
mirror of https://github.com/dg/dibi.git synced 2025-07-30 19:00:13 +02:00
This commit is contained in:
David Grudl
2017-07-24 14:46:58 +02:00
parent ba927b4782
commit 55523f4ed8
3 changed files with 5 additions and 4 deletions

View File

@@ -14,7 +14,7 @@ before_install:
- psql -c 'CREATE DATABASE dibi_test' -U postgres
install:
- travis_retry composer install --no-interaction --prefer-dist
- travis_retry composer install --no-progress --prefer-dist
script:
- vendor/bin/tester tests -s
@@ -29,9 +29,9 @@ jobs:
php: 7.1
install:
# Install Nette Code Checker
- travis_retry composer create-project nette/code-checker temp/code-checker ~2 --no-interaction
- travis_retry composer create-project nette/code-checker temp/code-checker ~2 --no-progress
# Install Nette Coding Standard
- travis_retry composer create-project nette/coding-standard temp/coding-standard --no-interaction
- travis_retry composer create-project nette/coding-standard temp/coding-standard --no-progress
script:
- php temp/code-checker/src/code-checker.php --short-arrays --strict-types
- php temp/coding-standard/ecs check src tests examples --config temp/coding-standard/coding-standard-php71.neon

View File

@@ -77,7 +77,7 @@ try {
'driver' => 'odbc',
'username' => 'root',
'password' => '***',
'dsn' => 'Driver={Microsoft Access Driver (*.mdb)};Dbq='.__DIR__.'/data/sample.mdb',
'dsn' => 'Driver={Microsoft Access Driver (*.mdb)};Dbq=' . __DIR__ . '/data/sample.mdb',
]);
echo 'OK';
} catch (Dibi\Exception $e) {

View File

@@ -41,6 +41,7 @@ function substFallBack($expr)
}
}
// define callback
dibi::getSubstitutes()->setCallback('substFallBack');