Merge branch 'noboost' of github.com:tristanpenman/valijson into noboost

This commit is contained in:
Lars Immisch 2016-08-06 23:16:14 +02:00
commit a53d2446be
2 changed files with 2 additions and 22 deletions

View File

@ -4,14 +4,6 @@ dist: trusty
matrix:
include:
- os: linux
compiler: gcc
addons:
apt:
sources: ['ubuntu-toolchain-r-test']
packages: ['g++-4.9', 'valgrind', 'python-pip', 'python-yaml']
env: COMPILER=g++-4.9
- os: linux
compiler: gcc
addons:

View File

@ -26,22 +26,10 @@ if [[ $CXX == 'clang++' ]]; then
echo "Additional flags to pass to cmake: $CMAKE_FLAGS"
fi
echo "Attempting to build and run test suite with C++11 support disabled..."
cmake $CMAKE_FLAGS -DVALIJSON_CXX11_ADAPTERS=disabled ..
echo "Attempting to build and run test suite with C++11 support enabled..."
cmake $CMAKE_FLAGS -DVALIJSON_CXX11_ADAPTERS=enabled ..
VERBOSE=1 make
./test_suite
echo "Checking if current compiler is GCC..."
if [[ $CXX == 'g++' ]]; then
echo "Not building test suite with C++11 support due to ancient version of GCC on Travis CI"
else
echo "Attempting to build and run test suite with C++11 support enabled..."
make clean
cmake $CMAKE_FLAGS -DVALIJSON_CXX11_ADAPTERS=enabled ..
VERBOSE=1 make
./test_suite
fi
make clean
popd > /dev/null