1language: c 2dist: focal 3 4# Test using both gcc and clang 5env: 6 - CC=gcc CXX=g++ 7 - CC=clang CXX=clang++ 8 9addons: 10 apt: 11 packages: 12 - scons 13 - python3 14 - python3-protobuf 15 - protobuf-compiler 16 17 18before_install: 19 - export PATH=$HOME/.local/bin:$HOME/protobuf/bin:$PATH 20 - export MAKEFLAGS=-j$(nproc) 21 - $CC --version 22 - $CXX --version 23 - python --version 24 - lsb_release -a 25 26script: 27 - pushd tests && scons CC=$CC CXX=$CXX && popd 28 29notifications: 30 email: 31 recipients: 32 - jpa@travis.mail.kapsi.fi 33