Cleanup/update build scripts/dependencies

This commit is contained in:
Timothy Warren 2019-12-11 16:32:21 -05:00
parent 4326602d17
commit 8013a9fc61
6 changed files with 20 additions and 15 deletions

2
.gitignore vendored
View File

@ -137,7 +137,6 @@ build/logs/*
build/pdepend/*
build/phpdox/*
cache.properties
._*
tests/settings.json
.php_cs
coverage/*
@ -146,3 +145,4 @@ composer.lock
docs/phpdoc*
.project
all_tests
build/.phpunit.result.cache

View File

@ -3,8 +3,9 @@ sudo: false
language: php
php:
- 7.1
- 7.2
- 7.3
- 7.4
- nightly
before_script:

View File

@ -94,7 +94,11 @@ class RoboFile extends \Robo\Tasks {
*/
public function coverage()
{
$this->_run(['phpdbg -qrr -- vendor/bin/phpunit -c build']);
$this->taskPhpUnit()
->configFile('build/phpunit.xml')
->run();
// $this->_run(['phpdbg -qrr -- vendor/bin/phpunit -c build']);
}
/**

View File

@ -7,8 +7,8 @@
*
* @package Query
* @author Timothy J. Warren <tim@timshomepage.net>
* @copyright 2012 - 2018 Timothy J. Warren
* @copyright 2012 - 2019 Timothy J. Warren
* @license http://www.opensource.org/licenses/mit-license.html MIT License
* @link https://git.timshomepage.net/aviat4ion/Query
* @link https://git.timshomepage.net/aviat/Query
* @version 3.0.0
*/

View File

@ -27,7 +27,7 @@
<logging>
<log type="coverage-html" target="./../coverage"/>
<log type="coverage-clover" target="logs/clover.xml"/>
<log type="coverage-xml" target="logs/coverage" />
<log type="coverage-xml" lowUpperBound="85" highLowerBound="90" showUncoveredFiles="true" target="logs/coverage" />
<log type="junit" target="logs/junit.xml" />
</logging>
</phpunit>

View File

@ -7,7 +7,6 @@
"query builder",
"codeigniter",
"mysql",
"firebird",
"sqlite",
"postgres",
"pdo"
@ -21,19 +20,20 @@
"role": "Developer"
}],
"require": {
"php": "^7.1"
"php": "^7.2",
"ext-pdo": "*"
},
"require-dev": {
"consolidation/robo": "^1.0.0",
"monolog/monolog": "^1.21",
"consolidation/robo": "^2.0.0",
"monolog/monolog": "^2.0.1",
"pdepend/pdepend": "^2.5",
"phploc/phploc": "^4.0",
"phpstan/phpstan": "^0.9.1",
"phpunit/phpunit": "^6.5",
"sebastian/phpcpd": "^3.0",
"phploc/phploc": "^5.0",
"phpstan/phpstan": "^0.12.2",
"phpunit/phpunit": "^8.5",
"sebastian/phpcpd": "^4.1",
"simpletest/simpletest": "^1.1",
"squizlabs/php_codesniffer": "^3.0.0",
"theseer/phpdox": "^0.11.0"
"theseer/phpdox": "^0.12.0"
},
"autoload": {
"psr-4": {