Skip to content
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

Fix Travis CI configuration #33

Merged
merged 7 commits into from
Aug 11, 2019
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
16 changes: 8 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
language: php
php:
- 5.5
- 5.4
- 7
script: phpunit
- 5.6
- 7.1
- 7.2
- 7.3
before_script:
- composer install --prefer-source --no-interaction --dev

script: ./vendor/bin/phpunit

env:
- AUTOLOAD=1

script: php ./build.php ${AUTOLOAD}
after_script: ./vendor/bin/coveralls -v
sudo: false
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[![Build Status](https://travis-ci.org/robwittman/shopify-php-sdk.svg?branch=master)](https://travis-ci.org/robwittman/shopify-php-sdk)

# Shopify PHP SDK

This SDK was created to enable rapid efficient development using Shopify's API.
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
]
},
"require-dev": {
"phpunit/phpunit": "^6.1",
"phpunit/phpunit": "^5.1",
"squizlabs/php_codesniffer": "^3.0",
"overtrue/phplint": "^0.2.4"
},
Expand Down
2 changes: 1 addition & 1 deletion src/Service/AbstractService.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ abstract class AbstractService
const REQUEST_METHOD_PUT = 'PUT';
const REQUEST_METHOD_DELETE = 'DELETE';

public static function factory(ApiInterface $api): AbstractService
public static function factory(ApiInterface $api)
{
return new static($api);
}
Expand Down
2 changes: 1 addition & 1 deletion test/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

session_start();

class TestCase extends \PHPUnit\Framework\TestCase
class TestCase extends \PHPUnit_Framework_TestCase
{
public function getApi(array $params = array())
{
Expand Down