Skip to content

Commit

Permalink
Fixing PHPUnit versions
Browse files Browse the repository at this point in the history
  • Loading branch information
j0k3r committed Jan 6, 2020
1 parent 44bebfc commit 5c1d65d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
12 changes: 8 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,20 @@ php:
- 5.6
- 7.0
- 7.1
- 7.2
- 7.3
- nightly

matrix:
include:
- php: 7.2
env: CS_FIXER=run
env: SYMFONY_PHPUNIT_VERSION=7.5
- php: 7.3
env: SYMFONY_PHPUNIT_VERSION=7.5 CS_FIXER=run
- php: 7.4
env: SYMFONY_PHPUNIT_VERSION=7.5 CS_FIXER=run
- php: nightly
env: SYMFONY_PHPUNIT_VERSION=7.5 CS_FIXER=run
fast_finish: true
allow_failures:
- php: 7.4
- php: nightly

# cache vendor dirs
Expand Down
2 changes: 1 addition & 1 deletion phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ includes:
parameters:
# https://github.com/phpstan/phpstan/issues/694#issuecomment-350724288
autoload_files:
- vendor/bin/.phpunit/phpunit-7.4/vendor/autoload.php
- vendor/bin/.phpunit/phpunit-7.5-0/vendor/autoload.php
4 changes: 4 additions & 0 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
bootstrap="vendor/autoload.php"
>

<php>
<env name="SYMFONY_PHPUNIT_VERSION" value="7.5" />
</php>

<testsuites>
<testsuite name="Readability Test Suite">
<directory>./tests/</directory>
Expand Down

0 comments on commit 5c1d65d

Please sign in to comment.