language: cpp

cache:
  directories:
    - ${HOME}/debs

jobs:
  include:
    # linux native build
    - name: "Linux native"
      os: linux
      compiler: gcc
      dist: focal
      env:
        - TARGET="linux"

before_install:
  - bash ${TRAVIS_BUILD_DIR}/.travis/before_install.sh

install:
  - bash ${TRAVIS_BUILD_DIR}/.travis/install.sh

script:
  - make
  - make -C tests

language: cpp

cache:
  directories:
    - ${HOME}/debs

jobs:
  # linux native build
  - name: "Linux native"
    os: linux
    compiler: gcc
    dist: focal
    env:
      - TARGET="linux"
    services:
      - xvfb

before_install:
  - bash ${TRAVIS_BUILD_DIR}/.travis/before_install.sh

install:
  - bash ${TRAVIS_BUILD_DIR}/.travis/install.sh

script:
  - make
  - make -C tests

Use xvfb for linux tests
Use xvfb for linux tests

Signed-off-by: falkTX <d7e5958cbb080ba57e41fb602ade747e1a2da17c@falktx.com>
