sudo: required

language: php

php:
  - 7.2
  - 7.1
  - 7.0
  - 5.6

services:
  - docker

before_install:
  # need at least version 17.05, for ARG support in FROM
  - sudo apt-get update
  - sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce

install:
  - make up PHP=$(phpenv version-name)

script:
  - make test PHP=$(phpenv version-name) UP=0 DOWN=0

after_success:
  - bash <(curl -s https://codecov.io/bash)

after_script:
  - make down PHP=$(phpenv version-name)

sudo: required

language: php

php:
  - 8.0
  - 7.4
  - 7.3
  - 7.2
  - 7.1
  - 7.0
  - 5.6

services:
  - docker

before_install:
  # need at least version 17.05, for ARG support in FROM
  - sudo apt-get update
  - sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce

install:
  - make up PHP=$(phpenv version-name)

script:
  - make test PHP=$(phpenv version-name) UP=0 DOWN=0

after_success:
  - bash <(curl -s https://codecov.io/bash)

after_script:
  - make down PHP=$(phpenv version-name)

Add more recent versions to Travis test matrix
Add more recent versions to Travis test matrix
