Browse Source

Cleanup/update build scripts/dependencies

pull/1/head
Timothy Warren 2 years ago
parent
commit
8013a9fc61
  1. 2
      .gitignore
  2. 3
      .travis.yml
  3. 6
      RoboFile.php
  4. 4
      build/header_comment.txt
  5. 2
      build/phpunit.xml
  6. 18
      composer.json

2
.gitignore

@ -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

3
.travis.yml

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

6
RoboFile.php

@ -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']);
}
/**

4
build/header_comment.txt

@ -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
*/

2
build/phpunit.xml

@ -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>

18
composer.json

@ -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": {

Loading…
Cancel
Save