Commit 813e9726 authored by David Gibson's avatar David Gibson

.travis.yml: Rework Travis matrix

At the moment the .travis.yml implicitly constructs a build matrix
with the two compiler options.  In future we want to add more build
options for wider testing: different base distro, more compiler
versions, etc.  However, a fair few of the possible combinations have
various problems meaning we don't want to test them routinely.

So, this reworks from implicitly constructing the matrix to using
matrix: include: options to explicitly build the options we want.
Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
parent b796c031
language: c language: c
sudo: false sudo: false
compiler: matrix:
- gcc include:
- clang - compiler: gcc
env: CFLAGS="-std=gnu99"
env: - compiler: clang
- CFLAGS="-std=gnu99"
script: script:
- make -j2 -k quiet=1 - make -j2 -k quiet=1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment