Skip to content

Commit

Permalink
try using newest image with PHP 8.0.9 for Bionic to avoid segfaults w…
Browse files Browse the repository at this point in the history
…hile running tests with PHP 8
  • Loading branch information
craue committed Aug 26, 2021
1 parent 8b01a17 commit aaa32e9
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ jobs:
php: 7.3
env: DEPS='lowest' WITH_DOCTRINE_CACHE_BUNDLE='yes' SYMFONY_DEPRECATIONS_HELPER='max[self]=2&max[direct]=168&max[indirect]=871'
-
php: 8.0 # 8.0.2
# php: nightly # 8.0.3-dev
dist: focal
php: 8.0
env: DEPS='unmodified' WITH_STATIC_ANALYSIS='yes'

- stage: test
Expand All @@ -36,17 +34,6 @@ jobs:
- env: SYMFONY_VERSION='5.4.*' MIN_STABILITY='dev'
fast_finish: true

before_install:
# install a custom PHP version
- |
if [ "${TRAVIS_PHP_VERSION}" = "8.0" ]; then
sudo apt update
sudo apt install ca-certificates apt-transport-https software-properties-common
sudo add-apt-repository -y ppa:ondrej/php
sudo apt install -y php8.0 libapache2-mod-php8.0
sudo update-alternatives --config php
fi
install:
# set unlimited memory_limit
- INI_FILE=~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
Expand Down

0 comments on commit aaa32e9

Please sign in to comment.