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
No known key found for this signature in database
GPG Key ID: 72D48FCE664F7B19

View File

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