Work on Travis-CI

This commit is contained in:
Dirk Ziegelmeier 2018-10-13 09:49:48 +02:00
parent ded63c12f1
commit f521d779fb
2 changed files with 7 additions and 8 deletions

View File

@ -4,7 +4,7 @@ sudo: false
matrix:
include:
- compiler: gcc
- compiler: gcc-7
addons:
apt:
sources:
@ -13,8 +13,10 @@ matrix:
- check
- libsubunit-dev
- gcc-7
env: COMPILER=gcc-7
- compiler: clang
env:
- LSAN_OPTIONS=verbosity=1:log_threads=1
- compiler: clang-6.0
addons:
apt:
sources:
@ -24,7 +26,8 @@ matrix:
- check
- libsubunit-dev
- clang-6.0
env: COMPILER=clang-6.0
env:
- LSAN_OPTIONS=verbosity=1:log_threads=1
addons:
apt:

View File

@ -1,9 +1,5 @@
#!/bin/bash
if [ "$COMPILER" ];
then
export CC=$COMPILER
fi
cd contrib/ports/unix/check
#build and run unit tests
make clean all