Skip to content

Commit

Permalink
Update travis.
Browse files Browse the repository at this point in the history
Signed-off-by: crynobone <[email protected]>
  • Loading branch information
crynobone committed Apr 13, 2017
1 parent 6075a4f commit b26ad99
Show file tree
Hide file tree
Showing 18 changed files with 38 additions and 20 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ before_script:
- if [[ $setup = 'coveralls' ]]; then travis_retry composer require "satooshi/php-coveralls=~0.7" --prefer-dist --no-interaction --dev; fi

script:
- if [[ $coverage = 'yes' ]]; then phpunit -c phpunit.xml --coverage-clover build/logs/clover.xml; fi
- if [[ $coverage = 'no' ]]; then phpunit -c phpunit.xml; fi
- if [[ $coverage = 'yes' ]]; then vendor/bin/phpunit -c phpunit.xml --coverage-clover build/logs/clover.xml; fi
- if [[ $coverage = 'no' ]]; then vendor/bin/phpunit -c phpunit.xml; fi

after_script:
- if [[ $setup = 'coveralls' ]]; then php vendor/bin/coveralls -v; fi
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
"illuminate/routing": "~5.3.0",
"illuminate/session": "~5.3.0",
"mockery/mockery": "^0.9.4",
"paragonie/random_compat": "~1.1"
"paragonie/random_compat": "~1.1",
"phpunit/phpunit": "~5.7"
},
"replace": {
"orchestra/support-core": "self.version",
Expand Down
3 changes: 2 additions & 1 deletion tests/ArrTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
namespace Orchestra\Support\TestCase;

use Orchestra\Support\Arr;
use PHPUnit\Framework\TestCase;

class ArrTest extends \PHPUnit_Framework_TestCase
class ArrTest extends TestCase
{
public function testExpand()
{
Expand Down
3 changes: 2 additions & 1 deletion tests/CollectionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@

namespace Orchestra\Support\TestCase;

use PHPUnit\Framework\TestCase;
use Orchestra\Support\Collection;

class CollectionTest extends \PHPUnit_Framework_TestCase
class CollectionTest extends TestCase
{
/**
* Test Orchestra\Support\Collection::toCsv() method.
Expand Down
3 changes: 2 additions & 1 deletion tests/ExpressionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@

namespace Orchestra\Support\TestCase;

use PHPUnit\Framework\TestCase;
use Orchestra\Support\Expression;

class ExpressionTest extends \PHPUnit_Framework_TestCase
class ExpressionTest extends TestCase
{
/**
* Test constructing Orchestra\Support\Expression.
Expand Down
3 changes: 2 additions & 1 deletion tests/KeywordTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
namespace Orchestra\Support\TestCase;

use Orchestra\Support\Keyword;
use PHPUnit\Framework\TestCase;

class KeywordTest extends \PHPUnit_Framework_TestCase
class KeywordTest extends TestCase
{
/**
* Test Orchestra\Support\Keyword signature.
Expand Down
3 changes: 2 additions & 1 deletion tests/ManagerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
namespace Orchestra\Support\TestCase;

use Mockery as m;
use PHPUnit\Framework\TestCase;

class ManagerTest extends \PHPUnit_Framework_TestCase
class ManagerTest extends TestCase
{
/**
* Teardown the test environment.
Expand Down
4 changes: 3 additions & 1 deletion tests/MorphTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

namespace Orchestra\Support\TestCase;

class MorphTest extends \PHPUnit_Framework_TestCase
use PHPUnit\Framework\TestCase;

class MorphTest extends TestCase
{
/**
* Test MorphStub::connect() return foo_connect().
Expand Down
5 changes: 3 additions & 2 deletions tests/NestyTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@

namespace Orchestra\Support\TestCase;

use Orchestra\Support\Nesty;
use Illuminate\Support\Fluent;
use PHPUnit\Framework\TestCase;
use Orchestra\Support\Collection;
use Orchestra\Support\Nesty;

class NestyTest extends \PHPUnit_Framework_TestCase
class NestyTest extends TestCase
{
/**
* Stub instance.
Expand Down
3 changes: 2 additions & 1 deletion tests/Providers/MiddlewareServiceProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
namespace Orchestra\Support\TestCase\Providers;

use Mockery as m;
use PHPUnit\Framework\TestCase;
use Illuminate\Container\Container;
use Orchestra\Support\Providers\MiddlewareServiceProvider;

class MiddlewareServiceProviderTest extends \PHPUnit_Framework_TestCase
class MiddlewareServiceProviderTest extends TestCase
{
/**
* Teardown the test environment.
Expand Down
3 changes: 2 additions & 1 deletion tests/Providers/ServiceProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@

namespace Orchestra\Support\TestCase\Providers;

use PHPUnit\Framework\TestCase;
use Orchestra\Support\Providers\ServiceProvider;

class ServiceProviderTest extends \PHPUnit_Framework_TestCase
class ServiceProviderTest extends TestCase
{
/**
* Test Orchestra\Support\Providers\PipelineServiceProvider method signature.
Expand Down
3 changes: 2 additions & 1 deletion tests/Providers/Traits/PackageProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
namespace Orchestra\Support\TestCase\Providers\Traits;

use Mockery as m;
use PHPUnit\Framework\TestCase;
use Illuminate\Container\Container;
use Orchestra\Support\Providers\Traits\PackageProvider;

class PackageProviderTest extends \PHPUnit_Framework_TestCase
class PackageProviderTest extends TestCase
{
use PackageProvider;

Expand Down
3 changes: 2 additions & 1 deletion tests/StrTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
namespace Orchestra\Support\TestCase;

use Orchestra\Support\Str;
use PHPUnit\Framework\TestCase;

class StrTest extends \PHPUnit_Framework_TestCase
class StrTest extends TestCase
{
/**
* Test Authorize\Str::humanize() method.
Expand Down
3 changes: 2 additions & 1 deletion tests/Traits/MacroableTraitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@

namespace Orchestra\Support\TestCase\Traits;

use PHPUnit\Framework\TestCase;
use Orchestra\Support\Traits\MacroableTrait;

class MacroableTraitTest extends \PHPUnit_Framework_TestCase
class MacroableTraitTest extends TestCase
{
/**
* Test \Orchestra\Support\Traits\MacroableTrait is executable.
Expand Down
3 changes: 2 additions & 1 deletion tests/Traits/ObservableTraitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
namespace Orchestra\Support\TestCase\Traits;

use Mockery as m;
use PHPUnit\Framework\TestCase;
use Orchestra\Support\Traits\ObservableTrait;

class ObservableTraitTest extends \PHPUnit_Framework_TestCase
class ObservableTraitTest extends TestCase
{
/**
* Teardown the test environment.
Expand Down
3 changes: 2 additions & 1 deletion tests/Traits/QueryFilterTraitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
namespace Orchestra\Support\TestCase\Traits;

use Mockery as m;
use PHPUnit\Framework\TestCase;
use Orchestra\Support\Traits\QueryFilterTrait;

class QueryFilterTraitTest extends \PHPUnit_Framework_TestCase
class QueryFilterTraitTest extends TestCase
{
use QueryFilterTrait;

Expand Down
3 changes: 2 additions & 1 deletion tests/Traits/ValidationTraitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@

namespace Orchestra\Support\TestCase\Traits;

use PHPUnit\Framework\TestCase;
use Orchestra\Support\Traits\ValidationTrait;

class ValidationTraitTest extends \PHPUnit_Framework_TestCase
class ValidationTraitTest extends TestCase
{
use ValidationTrait;

Expand Down
3 changes: 2 additions & 1 deletion tests/ValidatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
namespace Orchestra\Support\TestCase;

use Mockery as m;
use PHPUnit\Framework\TestCase;

class ValidatorTest extends \PHPUnit_Framework_TestCase
class ValidatorTest extends TestCase
{
/**
* Setup the test environment.
Expand Down

0 comments on commit b26ad99

Please sign in to comment.