Skip to content

Commit

Permalink
TravisCI: switch to bionic for build environment
Browse files Browse the repository at this point in the history
Keep using xenial for legacy PHP versions (5.6 and 7.0) as they are not
supported on bionic.

Fixes #27829
  • Loading branch information
dregad committed Jan 2, 2021
1 parent f16906f commit 67b3752
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .travis.yml
Expand Up @@ -4,7 +4,7 @@

language: php
os: linux
dist: xenial
dist: bionic

# -----------------------------------------------------------------------------
# Environment setup and test scripts execution
Expand Down Expand Up @@ -32,8 +32,6 @@ script:
#

php:
- 5.6
- 7.0
- 7.1
- 7.2
- 7.3
Expand All @@ -46,6 +44,20 @@ env:

jobs:
include:
# Use 'xenial' build environment for legacy PHP versions
- php: 5.6
dist: xenial
env: DB=mysql
- php: 5.6
dist: xenial
env: DB=pgsql
- php: 7.0
dist: xenial
env: DB=mysql
- php: 7.0
dist: xenial
env: DB=pgsql

# Add a specific build for Documentation
- name: Documentation
env: DOCBOOK=1
Expand Down

0 comments on commit 67b3752

Please sign in to comment.