From 52dbb551ec94c7969ee2793be6fdde76edaddba4 Mon Sep 17 00:00:00 2001 From: Josh Date: Sun, 26 Nov 2023 16:50:51 +1300 Subject: [PATCH] Update PHPUnit versions. Remove files for old CI. --- .atoum.php | 20 -------------------- .github/workflows/ci.yml | 12 +++--------- .travis.yml | 35 ----------------------------------- composer.json | 2 +- 4 files changed, 4 insertions(+), 65 deletions(-) delete mode 100644 .atoum.php delete mode 100644 .travis.yml diff --git a/.atoum.php b/.atoum.php deleted file mode 100644 index 15ce53f..0000000 --- a/.atoum.php +++ /dev/null @@ -1,20 +0,0 @@ -setRootUrl('http://test.local'); - -$report = $script->addDefaultReport(); -$report->addField($coverageField); diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 80bcfe7..4b43d0d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,20 +11,14 @@ jobs: fail-fast: false matrix: include: - - php: 7.0 - phpunit: phpunit/phpunit ^5 - can-fail: false - - php: 7.1 - phpunit: phpunit/phpunit ^5 - can-fail: false - php: 7.2 - phpunit: phpunit/phpunit ^5 + phpunit: phpunit/phpunit ^7 can-fail: false - php: 7.3 - phpunit: phpunit/phpunit ^5 + phpunit: phpunit/phpunit ^9 can-fail: false - php: 7.4 - phpunit: phpunit/phpunit ^5 + phpunit: phpunit/phpunit ^9 can-fail: false - php: 8.0 phpunit: phpunit/phpunit ^9 diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 788e635..0000000 --- a/.travis.yml +++ /dev/null @@ -1,35 +0,0 @@ -language: php -dist: trusty - -php: - - 5.6 - - 7.0 - - 7.1 - - 7.2 - -env: - global: - - USER=travis - - PASS=travis - -matrix: -# allow_failures: -# - php: 5.5 - -before_script: - - echo "travis:travis" | sudo chpasswd - # Prepare Composer - - composer self-update || true - - composer update - - composer --prefer-source --dev update - -script: - # Reset CUPS and PDF Printer - - sudo apt-get remove -yqq cups cups-pdf - - sudo apt-get install -yqq cups cups-pdf - - sudo adduser travis lpadmin - - sudo service cups restart - # Test PDF Printer - - lp -d PDF LICENSE && sleep 10 - # Run Tests - - ./vendor/bin/atoum -d tests/ -ncc -utr diff --git a/composer.json b/composer.json index a7352c9..cd49e8d 100644 --- a/composer.json +++ b/composer.json @@ -4,7 +4,7 @@ "type": "library", "license": "MIT", "require": { - "php": ">=7.0", + "php": ">=7.2", "php-http/client-common": "^2.1", "php-http/message": "^1.0", "guzzlehttp/psr7": "^2.6.1",