Skip to content

Commit

Permalink
Adding BC break test (#86)
Browse files Browse the repository at this point in the history
* Adding BC break test

* make it automatically detect latest version

* Test adding a BC break

* make sure code works :/

* Try to add another BC break

* Adding a third BC break.

(revering others)

* Reverted all "test BC breaks"

* Moved around code

* minor

* minor
  • Loading branch information
Nyholm authored Sep 2, 2018
1 parent de335b4 commit bfc970b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,16 @@ matrix:
allow_failures:
- php: nightly
include:
- php: 7.2
name: Backward compatibillity check
env: DEPENDENCIES="roave/backward-compatibility-check" TEST_COMMAND="./vendor/bin/roave-backward-compatibility-check"
- php: 7.1
name: Lowest version of dependencies
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest" COVERAGE=true TEST_COMMAND="composer test-ci"

before_install:
- if ! [ -v "$DEPENDENCIES" ]; then composer require --no-update ${DEPENDENCIES}; fi;

install:
- composer update ${COMPOSER_FLAGS} --prefer-source --no-interaction

Expand Down

0 comments on commit bfc970b

Please sign in to comment.