From 107a14a7e1a41da0c459b6eb34857ddc8a19275c Mon Sep 17 00:00:00 2001 From: Stephen Date: Thu, 28 Feb 2019 17:52:11 -0800 Subject: [PATCH] add xenial tests (#1404) * add xenial tests * add cmocka remove reminder --- .travis.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.travis.yml b/.travis.yml index 19bf6043..a3e0733a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,6 +5,7 @@ before_install: before_script: - wget https://github.com/groundx/capstonefuzz/raw/master/corpus/corpus-libFuzzer-capstone_fuzz_disasmnext-latest.zip - unzip -q corpus-libFuzzer-capstone_fuzz_disasmnext-latest.zip -d suite/fuzz + # TODO remove built in cmocka compile and use system cmocka (including brewfile) once xenial is default - git clone https://git.cryptomilk.org/projects/cmocka.git suite/cstest/cmocka - chmod +x suite/cstest/build_cstest.sh script: @@ -25,6 +26,22 @@ os: - osx matrix: include: + - name: xenial gcc + os: linux + dist: xenial + compiler: gcc + addons: + apt: + packages: + - libcmocka-dev + - name: xenial clang + os: linux + dist: xenial + compiler: clang + addons: + apt: + packages: + - libcmocka-dev - name: fuzza env: ASAN_OPTIONS=detect_leaks=0 CXXFLAGS="-DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address" CFLAGS="-DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -fsanitize=address" LDFLAGS="-fsanitize=address" NOPYTEST=true compiler: clang