Add the check headers in the CHECK pass of travis

This commit is contained in:
Maxime Gimeno 2018-05-28 17:02:27 +02:00
parent f2a18b7a65
commit 65ec22ec06
2 changed files with 7 additions and 1 deletions

View File

@ -77,7 +77,8 @@ cd $ROOT
zsh $ROOT/Scripts/developer_scripts/test_merge_of_branch HEAD
#test dependencies
cd $ROOT
bash Scripts/developer_scripts/cgal_check_dependencies.sh /usr/bin/doxygen
bash Scripts/developer_scripts/cgal_check_dependencies.sh --check_headers /usr/bin/doxygen
cd .travis
#parse current matrix and check that no package has been forgotten

View File

@ -10,6 +10,8 @@ do
echo "0 otherwise."
exit 0
;;
--check_headers) DO_CHECK_HEADERS="True"
;;
--*) echo "bad option $1"
;;
*) DOX_PATH="$1"
@ -29,6 +31,9 @@ do
done
cmake -DCGAL_HEADER_ONLY=FALSE -DCGAL_ENABLE_CHECK_HEADERS=TRUE -DDOXYGEN_EXECUTABLE="$DOX_PATH" -DCGAL_COPY_DEPENDENCIES=TRUE -DCMAKE_CXX_FLAGS="-std=c++11" ..
if [ -n "$DO_CHECK_HEADERS" ]; then
make -j$(nprc --all) -k check_headers
fi
make -j$(nproc --all) -k packages_dependencies
echo " Checks finished"
for pkg_path in $CGAL_ROOT/*