Skip to content

Commit 5c7211e

Browse files
committed
Prepare for package separation
1 parent 931fff7 commit 5c7211e

File tree

2 files changed

+65
-0
lines changed

2 files changed

+65
-0
lines changed

.travis.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
language: php
2+
3+
php:
4+
- 5.3
5+
- 5.4
6+
- 5.5
7+
8+
env:
9+
- SYMFONY_VERSION="2.1" GUZZLE_VERSION="3.1"
10+
- SYMFONY_VERSION="2.*" GUZZLE_VERSION="3.1"
11+
- SYMFONY_VERSION="2.1" GUZZLE_VERSION="3.*"
12+
- SYMFONY_VERSION="2.*" GUZZLE_VERSION="3.*"
13+
14+
before_script:
15+
- composer self-update
16+
- composer --version
17+
- composer require symfony/http-foundation:${SYMFONY_VERSION} --no-update
18+
- composer require guzzle/http:${GUZZLE_VERSION} --no-update
19+
- composer install -n --dev --prefer-source
20+
21+
script: vendor/bin/phpcs --standard=PSR2 src && vendor/bin/phpunit --coverage-text

composer.json

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
"name": "omnipay/common",
3+
"type": "library",
4+
"description": "Common components for Omnipay payment processing library",
5+
"keywords": [
6+
"gateway",
7+
"merchant",
8+
"omnipay",
9+
"pay",
10+
"payment",
11+
"purchase"
12+
],
13+
"homepage": "https://github.com/omnipay/common",
14+
"license": "MIT",
15+
"authors": [
16+
{
17+
"name": "Adrian Macneil",
18+
"email": "[email protected]"
19+
},
20+
{
21+
"name": "Omnipay Contributors",
22+
"homepage": "https://github.com/omnipay/common/contributors"
23+
}
24+
],
25+
"autoload": {
26+
"psr-0": { "Omnipay\\Common\\" : "src/" }
27+
},
28+
"require": {
29+
"php": ">=5.3.2",
30+
"guzzle/http": "~3.1",
31+
"symfony/http-foundation": "~2.1"
32+
},
33+
"require-dev": {
34+
"guzzle/plugin-mock": "~3.1",
35+
"mockery/mockery": "~0.8",
36+
"phpunit/phpunit": "~3.7.16",
37+
"squizlabs/php_codesniffer": "~1.4.4"
38+
},
39+
"extra": {
40+
"branch-alias": {
41+
"dev-master": "2.0.x-dev"
42+
}
43+
}
44+
}

0 commit comments

Comments
 (0)