Skip to content

Commit

Permalink
Add a prefer-lowest test
Browse files Browse the repository at this point in the history
  • Loading branch information
dakota authored Mar 7, 2019
1 parent f53554d commit 9268196
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ php:
env:
global:
- DEFAULT=1
- LOWEST=0

matrix:
fast_finish: true
Expand All @@ -19,11 +20,15 @@ matrix:

- php: 7.0
env: PHPSTAN=1 DEFAULT=0

- php: 7.2
env: DEFAULT=1 LOWEST=1

before_script:
- if [[ $TRAVIS_PHP_VERSION != 7.0 ]]; then phpenv config-rm xdebug.ini; fi

- composer install --prefer-dist --no-interaction
- if [[ $LOWEST = 0 ]]; then composer install --prefer-dist --no-interaction; fi
- if [[ $LOWEST = 1 ]]; then composer update --prefer-lowest --prefer-dist --no-interaction; fi

- if [[ $PHPCS = 1 ]]; then composer require cakephp/cakephp-codesniffer:dev-master; fi
- if [[ $PHPSTAN = 1 ]]; then composer require phpstan/phpstan:^0.9; fi
Expand Down

0 comments on commit 9268196

Please sign in to comment.