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 all test
make DESTDIR="${PWD}"/ROOT install make DESTDIR="${PWD}"/ROOT install
( cd ROOT/ && find | sort ) ( 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 else
./qa.sh "${MODE}" ./qa.sh "${MODE}"
fi fi

View File

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