Do you wish to register an account?
Browse Source

Cleanup/update build scripts/dependencies

tags/v3.0.0^2
Timothy Warren 8 months ago
parent
commit
8013a9fc61
6 changed files with 20 additions and 15 deletions
  1. +1
    -1
      .gitignore
  2. +2
    -1
      .travis.yml
  3. +5
    -1
      RoboFile.php
  4. +2
    -2
      build/header_comment.txt
  5. +1
    -1
      build/phpunit.xml
  6. +9
    -9
      composer.json

+ 1
- 1
.gitignore 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

+ 2
- 1
.travis.yml View File

@@ -3,8 +3,9 @@ sudo: false
language: php

php:
- 7.1
- 7.2
- 7.3
- 7.4
- nightly

before_script:


+ 5
- 1
RoboFile.php 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']);

}

/**


+ 2
- 2
build/header_comment.txt 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
*/

+ 1
- 1
build/phpunit.xml 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>

+ 9
- 9
composer.json 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": {


Loading…
Cancel
Save