TravisCI: also test CMake build out of source

This commit is contained in:
Rolf Eike Beer 2017-12-13 18:39:53 +01:00 committed by Sebastian Pipping
parent e6e45f3c6d
commit d9c3ae1bb1
2 changed files with 8 additions and 0 deletions

View File

@ -48,6 +48,13 @@ elif [[ ${MODE} = cmake ]]; then
make all test
make DESTDIR="${PWD}"/ROOT install
( cd ROOT/ && find | sort )
elif [[ ${MODE} = cmake-oos ]]; then
mkdir build
cd build
cmake ..
make all test
make DESTDIR="${PWD}"/ROOT install
( cd ROOT/ && find | sort )
else
./qa.sh "${MODE}"
fi

View File

@ -10,6 +10,7 @@ env:
matrix:
- MODE=address
- MODE=cmake
- MODE=cmake-oos
- MODE=distcheck
- MODE=lib-coverage