Skip to content

Commit

Permalink
Update to Omnipay 3.x
Browse files Browse the repository at this point in the history
  • Loading branch information
eileenmcnaughton committed Nov 25, 2018
1 parent b958302 commit 1f59de5
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 13 deletions.
26 changes: 20 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,27 @@
language: php

php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
- 7.0
- 7.1
- 7.2

before_script:
- composer install -n --dev --prefer-source
env:
global:
- setup=basic

matrix:
include:
- php: 5.6
env: setup=lowest

sudo: false

before_install:
- travis_retry composer self-update

install:
- if [[ $setup = 'basic' ]]; then travis_retry composer install --no-interaction --prefer-dist; fi
- if [[ $setup = 'lowest' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-lowest --prefer-stable; fi

script: vendor/bin/phpcs --standard=PSR2 src && vendor/bin/phpunit --coverage-text
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ to your `composer.json` file:
```json
{
"require": {
"dioscouri/omnipay-cybersource": "~2.0"
"dioscouri/omnipay-cybersource": "~3.0"
}
}
```
Expand Down
12 changes: 9 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,15 @@
"psr-4": { "Omnipay\\Cybersource\\" : "src/" }
},
"require": {
"omnipay/common": "~2.0"
"omnipay/common": "~3.0"
},
"require-dev": {
"omnipay/tests": "~2.0"
"omnipay/tests": "~3.0",
"squizlabs/php_codesniffer": "^3"
},
"extra": {
"branch-alias": {
"dev-master": "3.0.x-dev"
}
}
}
}
3 changes: 0 additions & 3 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@
<directory>./tests/</directory>
</testsuite>
</testsuites>
<listeners>
<listener class="Mockery\Adapter\Phpunit\TestListener" file="vendor/mockery/mockery/library/Mockery/Adapter/Phpunit/TestListener.php" />
</listeners>
<filter>
<whitelist>
<directory>./src</directory>
Expand Down

0 comments on commit 1f59de5

Please sign in to comment.