Skip to content
This repository has been archived by the owner on Dec 16, 2021. It is now read-only.

Testing against 7.x php versions #160

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
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
17 changes: 8 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
language: php

php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
- 7.3
- 7.4
- nightly
- hhvm

env:
- GUZZLE_VERSION="5.1.0"

before_script: composer install

install:
- composer require guzzlehttp/guzzle:${GUZZLE_VERSION}
- travis_retry composer update --no-interaction --prefer-source

matrix:
allow_failures:
- php: hhvm
- php: nightly
fast_finish: true
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"guzzlehttp/guzzle": "^5.1.0"
},
"require-dev": {
"phpunit/phpunit": "4.4.1"
"phpunit/phpunit": "^7.0|^6.0"
},
"authors": [
{
Expand Down
2 changes: 1 addition & 1 deletion test/Auth/CtctOAuth2UnitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use GuzzleHttp\Stream\Stream;
use GuzzleHttp\Subscriber\Mock;

class CtctOAuth2UnitTest extends PHPUnit_Framework_TestCase
class CtctOAuth2UnitTest extends \PHPUnit\Framework\TestCase
{
/**
* @var Client
Expand Down
3 changes: 2 additions & 1 deletion test/Services/AccountServiceUnitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@
use GuzzleHttp\Subscriber\Mock;
use GuzzleHttp\Stream\Stream;
use GuzzleHttp\Message\Response;
use PHPUnit\Framework\TestCase;

class AccountServiceUnitTest extends PHPUnit_Framework_TestCase
class AccountServiceUnitTest extends TestCase
{
/**
* @var Client
Expand Down
3 changes: 2 additions & 1 deletion test/Services/ActivityServiceUnitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
use GuzzleHttp\Subscriber\Mock;
use GuzzleHttp\Stream\Stream;
use GuzzleHttp\Message\Response;
use PHPUnit\Framework\TestCase;

class ActivityServiceUnitTest extends PHPUnit_Framework_TestCase
class ActivityServiceUnitTest extends TestCase
{
/**
* @var Client
Expand Down
3 changes: 2 additions & 1 deletion test/Services/CampaignScheduleServiceUnitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@
use GuzzleHttp\Subscriber\Mock;
use GuzzleHttp\Stream\Stream;
use GuzzleHttp\Message\Response;
use PHPUnit\Framework\TestCase;

class CampaignScheduleServiceUnitTest extends PHPUnit_Framework_TestCase
class CampaignScheduleServiceUnitTest extends TestCase
{
/**
* @var Client
Expand Down
3 changes: 2 additions & 1 deletion test/Services/CampaignTrackingServiceUnitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@
use GuzzleHttp\Subscriber\Mock;
use GuzzleHttp\Stream\Stream;
use GuzzleHttp\Message\Response;
use PHPUnit\Framework\TestCase;

class CampaignTrackingServiceUnitTest extends PHPUnit_Framework_TestCase
class CampaignTrackingServiceUnitTest extends TestCase
{
/**
* @var Client
Expand Down
3 changes: 2 additions & 1 deletion test/Services/ContactServiceUnitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@
use GuzzleHttp\Subscriber\Mock;
use GuzzleHttp\Stream\Stream;
use GuzzleHttp\Message\Response;
use PHPUnit\Framework\TestCase;

class ContactServiceUnitTest extends PHPUnit_Framework_TestCase
class ContactServiceUnitTest extends TestCase
{
/**
* @var Client
Expand Down
3 changes: 2 additions & 1 deletion test/Services/ContactTrackingServiceUnitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@
use GuzzleHttp\Subscriber\Mock;
use GuzzleHttp\Stream\Stream;
use GuzzleHttp\Message\Response;
use PHPUnit\Framework\TestCase;

class ContactTrackingServiceUnitTest extends PHPUnit_Framework_TestCase
class ContactTrackingServiceUnitTest extends TestCase
{
/**
* @var Client
Expand Down
3 changes: 2 additions & 1 deletion test/Services/EmailCampaignServiceUnitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@
use GuzzleHttp\Subscriber\Mock;
use GuzzleHttp\Stream\Stream;
use GuzzleHttp\Message\Response;
use PHPUnit\Framework\TestCase;

class EmailMarketingServiceUnitTest extends PHPUnit_Framework_TestCase
class EmailMarketingServiceUnitTest extends TestCase
{
/**
* @var Client
Expand Down
3 changes: 2 additions & 1 deletion test/Services/LibraryServiceUnitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@
use GuzzleHttp\Subscriber\Mock;
use GuzzleHttp\Stream\Stream;
use GuzzleHttp\Message\Response;
use PHPUnit\Framework\TestCase;

class LibraryServiceUnitTest extends PHPUnit_Framework_TestCase
class LibraryServiceUnitTest extends TestCase
{
/**
* @var Client
Expand Down
3 changes: 2 additions & 1 deletion test/Services/ListServiceUnitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@
use GuzzleHttp\Subscriber\Mock;
use GuzzleHttp\Stream\Stream;
use GuzzleHttp\Message\Response;
use PHPUnit\Framework\TestCase;

class ListServiceUnitTest extends PHPUnit_Framework_TestCase
class ListServiceUnitTest extends TestCase
{
/**
* @var Client
Expand Down