blob: 2cb425a8efd42f2c905f34e8431b293f9431cc2c [file] [log] [blame]
sudo: required
language: c
services:
- docker
compiler:
- gcc
- clang
env:
matrix:
# ubuntu 18.04
- DOCKER_TAG=ubuntu-18.04
# ubuntu 20.04
- DOCKER_TAG=ubuntu-20.04
# fedora-32
- DOCKER_TAG=fedora-32
# opensuse-leap
- DOCKER_TAG=opensuse-leap
matrix:
include:
# scan build check
- env: DOCKER_TAG=fedora-32 SCANBUILD=yes
compiler: clang
# check config for different tcti targets
- env: DOCKER_TAG=fedora-32 TEST_TCTI_CONFIG=true
compiler: gcc
- env: DOCKER_TAG=ubuntu-20.04
compiler: clang
# mbedTLS testing
- env: DOCKER_TAG=ubuntu-20.04 WITH_CRYPTO=mbed
compiler: gcc
- env: DOCKER_TAG=fedora-32 WITH_TCTI=mssim
compiler: gcc
# coverage check
- env: DOCKER_TAG=ubuntu-18.04 ENABLE_COVERAGE=true
compiler: gcc
# check fuzz targets
- env: DOCKER_TAG=fedora-32 GEN_FUZZ=1 CXX=clang++ CC=clang
compiler: clang
script:
- ./.ci/travis.run
after_failure:
- cat `find ../ -name test-suite.log`