Skip to content

Commit

Permalink
Merge d4258ae into 2ae0158
Browse files Browse the repository at this point in the history
  • Loading branch information
crynobone committed Dec 28, 2019
2 parents 2ae0158 + d4258ae commit eef790e
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 7 deletions.
16 changes: 13 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ sudo: required
php:
- 7.2
- 7.3
- 7.4

env:
global:
- coverage=no
- coverage=no phpunit=^8.3
matrix:
- setup=basic
- setup=stable
Expand All @@ -27,6 +28,7 @@ before_install:
- sudo sh -c 'echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6'

before_script:
- composer require "phpunit/phpunit=${phpunit}" --dev --prefer-dist --no-interaction --no-suggest
- if [[ $setup = 'basic' ]]; then travis_retry composer install --prefer-dist --no-interaction; fi
- if [[ $setup = 'stable' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-stable; fi
- if [[ $setup = 'lowest' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-lowest --prefer-stable; fi
Expand All @@ -44,10 +46,18 @@ after_script:

matrix:
include:
- php: 7.3
env: setup=basic phpunit=^9.0
- php: 7.4
env: setup=basic
env: setup=basic phpunit=^9.0
- php: 7.3
env: setup=stable phpunit=^9.0
- php: 7.4
env: setup=stable
env: setup=stable phpunit=^9.0
- php: 7.3
env: setup=lowest phpunit=^9.0
- php: 7.4
env: setup=lowest phpunit=^9.0
- php: 7.2
env: setup=coveralls coverage=yes
allow_failures:
Expand Down
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@
"laravel/dusk": "^5.6.3",
"opis/closure": "^3.1",
"orchestra/dusk-updater": "^1.1",
"orchestra/testbench": "^4.5",
"phpunit/phpunit": "^8.3"
"orchestra/testbench": "^4.5"
},
"require-dev": {
"laravel/laravel": "dev-master",
Expand Down
4 changes: 2 additions & 2 deletions tests/Unit/DefaultConfigurationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ class DefaultConfigurationTest extends TestbenchDuskTestCase
/** @test */
public function it_loads_dusk_service_provider()
{
$this->assertContains(DuskServiceProvider::class, $this->app['config']['app.providers']);
$this->assertContains(DuskServiceProvider::class, $this->app->getLoadedProviders());
$this->assertContains(DuskServiceProvider::class, array_values($this->app['config']['app.providers']));
$this->assertContains(DuskServiceProvider::class, array_keys($this->app->getLoadedProviders()));
}

/** @test */
Expand Down

0 comments on commit eef790e

Please sign in to comment.