Skip to content

Commit 1514469

Browse files
authoredMay 15, 2018
Merge pull request #502 from thephpleague/v3-5.6
Allow 5.6 and 7.0
2 parents c803192 + 7d8faeb commit 1514469

File tree

3 files changed

+26
-12
lines changed

3 files changed

+26
-12
lines changed
 

‎.travis.yml

+24-10
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,34 @@
11
language: php
22

33
php:
4+
- 5.6
5+
- 7.0
46
- 7.1
57
- 7.2
68

9+
# This triggers builds to run on the new TravisCI infrastructure.
10+
# See: http://docs.travis-ci.com/user/workers/container-based-infrastructure/
11+
sudo: false
12+
13+
## Cache composer
14+
cache:
15+
directories:
16+
- $HOME/.composer/cache
17+
718
env:
8-
- SYMFONY_VERSION="2.1"
9-
- SYMFONY_VERSION="2.*"
10-
- SYMFONY_VERSION="3.0"
11-
- SYMFONY_VERSION="3.*"
12-
- SYMFONY_VERSION="4.0"
13-
- SYMFONY_VERSION="4.*"
19+
global:
20+
- symfony="*"
21+
22+
matrix:
23+
include:
24+
- php: 5.6
25+
env: symfony="^2.1"
26+
- php: 5.6
27+
env: symfony="^3"
28+
- php: 7.1
29+
env: symfony="^4"
1430

15-
before_script:
16-
- composer self-update
17-
- composer --version
18-
- composer require symfony/http-foundation:${SYMFONY_VERSION} --no-update
31+
install:
32+
- if [[ $symfony != '*' ]]; then travis_retry composer require symfony/http-foundation:${symfony} --no-update --no-interaction; fi
1933

2034
script: composer install --prefer-dist --no-interaction

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[![Latest Stable Version](https://poser.pugx.org/omnipay/omnipay/version)](https://packagist.org/packages/omnipay/omnipay)
77
[![Total Downloads](https://poser.pugx.org/omnipay/omnipay/d/total)](https://packagist.org/packages/omnipay/omnipay)
88

9-
Omnipay is a payment processing library for PHP 7.1+. It has been designed based on
9+
Omnipay is a payment processing library for PHP. It has been designed based on
1010
ideas from [Active Merchant](http://activemerchant.org/), plus experience implementing
1111
dozens of gateways for [CI Merchant]. It has a clear and consistent API,
1212
is fully unit tested, and even comes with an example application to get you started.

‎composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
}
6565
],
6666
"require": {
67-
"php": "^7.1",
67+
"php": "^5.6|^7",
6868
"omnipay/common": "^3",
6969
"php-http/guzzle6-adapter": "^1.1"
7070
},

0 commit comments

Comments
 (0)