dist: xenial
language: bash
services: docker
git:
  quiet: true
env:
  global:
    - TARGETS=""
matrix:
  include:
    # Run multi arch cases on only cron mode at first, as it takes 30+ minutes.
    - name: fedora30_s390x
      env: SERVICE=fedora30_s390x TARGETS="qemu build"
      if: type = cron
    - env: SERVICE=fedora30
    - env: SERVICE=fedora29
    - env: SERVICE=fedora28
    - env: SERVICE=fedora27
    - env: SERVICE=fedora26
    - env: SERVICE=fedora_rawhide
    - env: SERVICE=intg
    - env: SERVICE=centos7
    - env: SERVICE=centos6
    - env: SERVICE=ubuntu_bionic
    - env: SERVICE=ubuntu_trusty
    - env: SERVICE=opensuse_tumbleweed
    - env: SERVICE=opensuse_leap_15
  allow_failures:
    - env: SERVICE=fedora_rawhide
  fast_finish: true
install: |
  travis_retry make ${TARGETS} SERVICE=${SERVICE}
script: |
  make test SERVICE=${SERVICE}
branches:
  only:
    - master
    - /^pull\//
branches:
  except:
    # Enable branches except the working in progress branch or
    # current pull-request feature/ci-podman and feature/ci-centos.
    - /^(wip\/|feature\/(ci-podman|ci-centos5))/

dist: bionic
language: bash
services: docker
git:
  quiet: true
env:
  global:
    - TARGETS=""
matrix:
  include:
    # Run multi arch cases on only cron mode at first, as it takes 30+ minutes.
    - name: fedora30_s390x
      env: SERVICE=fedora30_s390x TARGETS="qemu build"
      if: type = cron
    - env: SERVICE=fedora30
    - env: SERVICE=fedora29
    - env: SERVICE=fedora28
    - env: SERVICE=fedora27
    - env: SERVICE=fedora26
    - env: SERVICE=fedora_rawhide
    - env: SERVICE=intg
    - env: SERVICE=centos7
    - env: SERVICE=centos6
    - env: SERVICE=ubuntu_bionic
    - env: SERVICE=ubuntu_trusty
    - env: SERVICE=opensuse_tumbleweed
    - env: SERVICE=opensuse_leap_15
  allow_failures:
    - env: SERVICE=fedora_rawhide
  fast_finish: true
install: |
  travis_retry make ${TARGETS} SERVICE=${SERVICE}
script: |
  make test SERVICE=${SERVICE}
branches:
  only:
    - master
    - /^pull\//
branches:
  except:
    # Enable branches except the working in progress branch or
    # current pull-request feature/ci-podman and feature/ci-centos.
    - /^(wip\/|feature\/(ci-podman|ci-centos5))/

Change the dist to bionic.
Change the dist to bionic.

Seeing a rebase-helper repo using Fedora container, it seems the the docker
old version in Travis causes the following "Operation not permitted" issue
on Fedora rawhide.

```
Step 12/20 : RUN ls -1 /etc/yum.repos.d/*.repo
 ---> Running in 1b4ff4593a2f
ls: cannot access '/etc/yum.repos.d/fedora-cisco-openh264.repo': Operation not permitted
ls: cannot access '/etc/yum.repos.d/fedora-modular.repo': Operation not permitted
ls: cannot access '/etc/yum.repos.d/fedora-rawhide-modular.repo': Operation not permitted
ls: cannot access '/etc/yum.repos.d/fedora-rawhide.repo': Operation not permitted
ls: cannot access '/etc/yum.repos.d/fedora-updates-modular.repo': Operation not permitted
ls: cannot access '/etc/yum.repos.d/fedora-updates-testing-modular.repo': Operation not permitted
ls: cannot access '/etc/yum.repos.d/fedora-updates-testing.repo': Operation not permitted
ls: cannot access '/etc/yum.repos.d/fedora-updates.repo': Operation not permitted
ls: cannot access '/etc/yum.repos.d/fedora.repo': Operation not permitted
```
