Skip to content

Commit

Permalink
Travis use 7.1 - 8.1 php version
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Sep 20, 2022
1 parent 6fb9a47 commit e835b73
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,13 @@ jobs:
#allow_failures:
#- php: nightly
include:
- stage: PHP 7.0-7.4
- stage: PHP 7.0-8.1
if: type = push
php: '7.1'
env: DB=postgresql
- stage: PHP 7.0-7.4
- stage: PHP 7.0-8.1
if: type = pull_request OR type = push
php: '7.4.22'
php: '8.1'
env: DB=mysql
- stage: PHP Dev
if: type = push AND branch = develop
Expand Down Expand Up @@ -122,7 +122,7 @@ install:
squizlabs/php_codesniffer ^3
fi
# phpunit 9 is required for php 8
if [ "$TRAVIS_PHP_VERSION" = 'nightly' ]; then
if [ "$TRAVIS_PHP_VERSION" = '8.0' ] || [ "$TRAVIS_PHP_VERSION" = '8.1' ] || [ "$TRAVIS_PHP_VERSION" = 'nightly' ]; then
composer -n require --ignore-platform-reqs phpunit/phpunit ^7 \
php-parallel-lint/php-parallel-lint ^1.2 \
php-parallel-lint/php-console-highlighter ^0 \
Expand Down

0 comments on commit e835b73

Please sign in to comment.