Skip to content

Commit

Permalink
Use correct orchestra testbench version, depending on laravel version
Browse files Browse the repository at this point in the history
  • Loading branch information
hmazter committed Mar 9, 2018
1 parent 7449fcd commit 3c9b7c7
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,18 @@ cache:
matrix:
include:
- php: 7.1
env: ILLUMINATE_VERSION=5.5.* PHPUNIT_VERSION=6.*
env: ILLUMINATE_VERSION=5.5.* PHPUNIT_VERSION=6.* ORCHESTRA_TESTBENCH_VERSION=3.5
- php: 7.1
env: ILLUMINATE_VERSION=5.6.* PHPUNIT_VERSION=7.*
env: ILLUMINATE_VERSION=5.6.* PHPUNIT_VERSION=7.* ORCHESTRA_TESTBENCH_VERSION=3.6
- php: 7.2
env: ILLUMINATE_VERSION=5.5.* PHPUNIT_VERSION=6.*
env: ILLUMINATE_VERSION=5.5.* PHPUNIT_VERSION=6.* ORCHESTRA_TESTBENCH_VERSION=3.5
- php: 7.2
env: ILLUMINATE_VERSION=5.6.* PHPUNIT_VERSION=7.*
env: ILLUMINATE_VERSION=5.6.* PHPUNIT_VERSION=7.* ORCHESTRA_TESTBENCH_VERSION=3.6

before_install:
- if [ -n "$ILLUMINATE_VERSION" ] ; then composer require illuminate/support:${ILLUMINATE_VERSION} illuminate/console:${ILLUMINATE_VERSION} --no-update; fi
- if [ -n "$PHPUNIT_VERSION" ] ; then composer require phpunit/phpunit:${PHPUNIT_VERSION} --no-update; fi
- if [ -n "$PHPUNIT_VERSION" ] ; then composer require --dev phpunit/phpunit:${PHPUNIT_VERSION} --no-update; fi
- if [ -n "$ORCHESTRA_TESTBENCH_VERSION" ] ; then composer require --dev orchestra/testbench:${ORCHESTRA_TESTBENCH_VERSION} --no-update; fi
- mkdir -p build/logs

install:
Expand Down

0 comments on commit 3c9b7c7

Please sign in to comment.