1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-31 01:39:46 +02:00

tests: improved testing environment

This commit is contained in:
David Grudl
2015-01-10 19:11:30 +01:00
parent 59da4bd66a
commit f5f4f786f1
13 changed files with 164 additions and 201 deletions

View File

@@ -11,7 +11,7 @@ matrix:
- php: hhvm
script:
- vendor/bin/tester tests -s -c tests/php-unix.ini
- vendor/bin/tester tests -s -p php -c tests/php-unix.ini
- php code-checker/src/code-checker.php
after_failure:
@@ -22,3 +22,9 @@ before_script:
# Install Nette Tester & Code Checker
- composer install --no-interaction --dev --prefer-source
- composer create-project nette/code-checker code-checker ~2.3 --no-interaction --prefer-source
# Create databases.ini
- cp ./tests/databases.sample.ini ./tests/databases.ini
# Create Postgre database
- psql -c 'CREATE DATABASE dibi_test' -U postgres