Merge pull request #1528 from bluca/fix-travis-check

CI build does not fail when tests fail. Fix #1527
This commit is contained in:
Constantin Rack 2015-08-16 17:45:57 +02:00
commit 9ebd54a9e5

View File

@ -9,8 +9,7 @@ if [ $BUILD_TYPE == "default" ]; then
if [ $TRAVIS_OS_NAME != "osx" ] ; then sudo ldconfig ; fi )
# Build and check this project
./autogen.sh && ./configure --with-libsodium=yes && make && make check
sudo make install
(./autogen.sh && ./configure --with-libsodium=yes && make && make check && sudo make install) || exit 1
else
cd ./builds/${BUILD_TYPE} && ./ci_build.sh
fi