add test-info
This commit is contained in:
parent
9bba2a0f5b
commit
cb9cc07d30
2 changed files with 8 additions and 0 deletions
|
@ -27,6 +27,8 @@ install:
|
|||
- if [[ "$DB" == "mysql" ]]; then mysql -e "CREATE DATABASE shimmie;" -uroot; fi
|
||||
|
||||
script:
|
||||
- php tests/test_info.php
|
||||
- curl http://127.0.0.1/tests/test_info.php
|
||||
- php tests/test_install.php -d $DB -h "http://127.0.0.1/"
|
||||
- php tests/test_all.php -h "http://127.0.0.1/"
|
||||
|
||||
|
|
6
tests/test_info.php
Normal file
6
tests/test_info.php
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?php
|
||||
print("Shimmie Auto-Test\n");
|
||||
print("~~~~~~~~~~~~~~~~~\n");
|
||||
print("Database : " . getenv("DB") . "\n");
|
||||
print("PHP : " . phpversion() . "\n");
|
||||
print("PDO drivers: " . var_export(PDO::getAvailableDrivers(), true) . "\n");
|
Reference in a new issue