Update travis setup and remove old phpci config file
This commit is contained in:
parent
2613a1c8a4
commit
c64d693563
@ -17,7 +17,9 @@ before_script:
|
|||||||
|
|
||||||
script:
|
script:
|
||||||
- mkdir -p build/logs
|
- mkdir -p build/logs
|
||||||
|
- cd build
|
||||||
- phpunit --coverage-clover build/logs/clover.xml
|
- phpunit --coverage-clover build/logs/clover.xml
|
||||||
|
- cd ../
|
||||||
|
|
||||||
after_script:
|
after_script:
|
||||||
- wget https://scrutinizer-ci.com/ocular.phar
|
- wget https://scrutinizer-ci.com/ocular.phar
|
||||||
|
20
phpci.yml
20
phpci.yml
@ -1,20 +0,0 @@
|
|||||||
build_settings:
|
|
||||||
verbose: true
|
|
||||||
ignore:
|
|
||||||
- "tests"
|
|
||||||
|
|
||||||
setup:
|
|
||||||
env:
|
|
||||||
PHPCI: true
|
|
||||||
|
|
||||||
test:
|
|
||||||
php_docblock_checker:
|
|
||||||
allowed_warnings: 0
|
|
||||||
skip_classes: true
|
|
||||||
php_loc:
|
|
||||||
php_mess_detector:
|
|
||||||
allow_failures: true
|
|
||||||
rules:
|
|
||||||
- "unusedcode"
|
|
||||||
- "naming"
|
|
||||||
complete:
|
|
39
phpunit.xml
39
phpunit.xml
@ -1,39 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<phpunit
|
|
||||||
colors="true"
|
|
||||||
stopOnFailure="false"
|
|
||||||
bootstrap="tests/bootstrap.php">
|
|
||||||
<filter>
|
|
||||||
<whitelist>
|
|
||||||
<directory suffix=".php">src/*</directory>
|
|
||||||
<file>autoload.php</file>
|
|
||||||
</whitelist>
|
|
||||||
</filter>
|
|
||||||
<testsuites>
|
|
||||||
<testsuite name="CoreTests">
|
|
||||||
<file>tests/core/core_test.php</file>
|
|
||||||
<file>tests/core/query_parser_test.php</file>
|
|
||||||
<file>tests/core/connection_manager_test.php</file>
|
|
||||||
</testsuite>
|
|
||||||
<testsuite name="MySQLTests">
|
|
||||||
<file>tests/databases/mysql/MySQLTest.php</file>
|
|
||||||
<file>tests/databases/mysql/MySQLQBTest.php</file>
|
|
||||||
</testsuite>
|
|
||||||
<testsuite name="PgSQLTests">
|
|
||||||
<file>tests/databases/pgsql/PgSQLTest.php</file>
|
|
||||||
<file>tests/databases/pgsql/PgSQLQBTest.php</file>
|
|
||||||
</testsuite>
|
|
||||||
<testsuite name="SQLiteTests">
|
|
||||||
<file>tests/databases/sqlite/SQLiteTest.php</file>
|
|
||||||
<file>tests/databases/sqlite/SQLiteQBTest.php</file>
|
|
||||||
</testsuite>
|
|
||||||
<testsuite name="FirebirdTests">
|
|
||||||
<file>tests/databases/firebird/FirebirdTest.php</file>
|
|
||||||
<file>tests/databases/firebird/FirebirdQBTest.php</file>
|
|
||||||
</testsuite>
|
|
||||||
<testsuite name="PDOFirebirdTests">
|
|
||||||
<file>tests/databases/pdofirebird/PDOFirebirdTest.php</file>
|
|
||||||
<file>tests/databases/pdofirebird/PDOFirebirdQBTest.php</file>
|
|
||||||
</testsuite>
|
|
||||||
</testsuites>
|
|
||||||
</phpunit>
|
|
Loading…
Reference in New Issue
Block a user