Skip to content

Update composer.json & travis.yml #138

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Sep 8, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 21 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,24 @@
language: php
php:
- '5.4'
- '5.5'
- '5.6'
- '7'
- 5.4
- 5.5
- 5.6
- 7
- 7.1
- 7.2

matrix:
allow_failures:
php: 7.1
php: 7.2

# install packages explicitly
install:
- composer self-update && composer install

# show me what phpunit version we are running
before_script:
- wget https://phar.phpunit.de/phpunit-3.7.phar
script: cd test-cases && php ../phpunit-3.7.phar --bootstrap bootstrap.php
- vendor/bin/phpunit --version

# run the test suite
script: cd test-cases && php ../vendor/bin/phpunit --bootstrap bootstrap.php
20 changes: 13 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,21 @@
"type": "library",
"description": "An open-source library to connect to Amazon's MWS web services in an object-oriented manner, with a focus on intuitive usage.",
"license": "Apache-2.0",
"keywords": ["API", "Amazon", "PHP"],
"require":{
"php": ">=5.4",
"ext-curl": "*"
"keywords": [
"API",
"Amazon",
"PHP"
],
"require": {
"php": ">=5.4",
"ext-curl": "*"
},
"require-dev": {
"phpunit/phpunit": "3.7.*"
},
"phpunit/phpunit": ">=4.0.0, <6.0.0"
},
"autoload": {
"classmap": ["includes/classes/"]
"classmap": [
"includes/classes/"
]
}
}