#!/bin/bash set -ev unzip -o 3rdParty/gtest/gtest-1.7.0.zip -d 3rdParty/gtest mkdir build_travis cd build_travis echo $TRAVIS_OS_NAME if [ "$CXX" = "g++" ] then echo "Testing with g++" cmake -DCMAKE_CXX_COMPILER=g++ -DUSE_G3LOG_UNIT_TEST=ON .. make -j ./test_concept_sink ./test_configuration ./test_dynamic_loaded_shared_lib ./test_filechange ./test_io ./test_sink fi if [ "$CXX" = "clang++" ] then echo "Testing with Clang++" cmake -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_CXX_FLAGS=-std=gnu++11 -DUSE_G3LOG_UNIT_TEST=ON .. make -j ./test_concept_sink ./test_configuration #./test_dynamic_loaded_shared_lib ./test_filechange ./test_io ./test_sink fi