Skip to content

Commit

Permalink
change travis ci yaml for php 8
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Novikov committed Dec 12, 2022
1 parent 394fd17 commit 4989385
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
13 changes: 8 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
language: php

php:
- 7.1
- 7.2
- 8.0
- 8.1

# This triggers builds to run on the new TravisCI infrastructure.
# See: http://docs.travis-ci.com/user/workers/container-based-infrastructure/
Expand All @@ -20,8 +20,11 @@ env:

matrix:
include:
- php: 7.1
env: setup=lowest symfony="^4"
- php: 8.0
env: setup=lowest symfony="^5.2"
- php: 8.1
env: setup=lowest symfony="^6.1"


install:
- if [[ $symfony != '*' ]]; then travis_retry composer require symfony/http-foundation:${symfony} --no-update --no-interaction; fi
Expand All @@ -37,4 +40,4 @@ after_script:
if [[ "$TRAVIS_PHP_VERSION" != 'hhvm' ]]; then
wget https://scrutinizer-ci.com/ocular.phar
php ocular.phar code-coverage:upload --format=php-clover coverage.clover
fi
fi
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@

This library implements the work with [Sberbank acquiring api](https://developer.sberbank.ru/doc/v1/acquiring/rest-requests-about) via [theleague Omnipay](https://omnipay.thephpleague.com/) processing library for PHP. It has a clear and consistent API, is fully unit tested.

This package supports PHP 7.1 and higher
The package release 3.2.2 version supports PHP 7.1 and higher and omnipay/common v3.0.3
The package release 3.3.0 version supports PHP 8.0 and higher and omnipay/common v3.2

# Download

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
"payment"
],
"require": {
"php": "^8.1",
"php": "^8.0",
"omnipay/common": "^3.2"
},
"require-dev": {
"omnipay/tests": "^4",
"phpunit/phpunit": "^8|^9",
"squizlabs/php_codesniffer": "3.*"
"squizlabs/php_codesniffer": "4.*"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 4989385

Please sign in to comment.