Print output of failed Travis tests

If a unit test fails, print the output.
This commit is contained in:
Markus Mäkelä
2018-10-01 10:25:00 +03:00
parent 79d1eb19d7
commit 048aee1fb7

View File

@ -18,7 +18,7 @@ cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTS=Y cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTS=Y
make make
make test || exit 1 ctest --output-on-failure || exit 1
sudo make install sudo make install
sudo ./postinst sudo ./postinst