summaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2020-08-02 09:58:32 (GMT)
committeralbert-github <albert.tests@gmail.com>2020-08-02 09:58:32 (GMT)
commit03fe997d902f9a1336a9d74f377fc8b95e8a88a6 (patch)
treef515fd36db50359b0ffd185ab593e1b22d49524b /.travis.yml
parent1c2acccbe1a1f348c5741036289f630e54c3f771 (diff)
downloadDoxygen-03fe997d902f9a1336a9d74f377fc8b95e8a88a6.zip
Doxygen-03fe997d902f9a1336a9d74f377fc8b95e8a88a6.tar.gz
Doxygen-03fe997d902f9a1336a9d74f377fc8b95e8a88a6.tar.bz2
Travis does not terminate on error on non last command inside if construct
In case we have an `if` construct with multiple statements and the non last statement gives an error this is ignored by travis. - In the mentioned case we can take the 2 statements (`make tests` and `make docs` together), so no construct with a script and `set -e` is required. - due to a problem with the shared libraries in the case we compile with `clang` compiler and the `xmllint` program we need to exclude the `make tests` here as well. Tests were don with the test pull request #7939
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index ced8d26..733e668 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -122,7 +122,9 @@ script:
- cmake --version;
- cmake -G "Unix Makefiles" -Dbuild_doc=ON -Dbuild_wizard=ON ..
- make
- - if [ ! "${TRAVIS_OS_NAME}" == "osx" ]; then
- make tests;
+ - if [ ! "${TRAVIS_OS_NAME}" == "osx" ] && [ ! "${TRAVIS_COMPILER}" == "clang" ]; then
+ make tests docs;
+ fi;
+ - if [ ! "${TRAVIS_OS_NAME}" == "osx" ] && [ "${TRAVIS_COMPILER}" == "clang" ]; then
make docs;
fi;