From: Manuel Nickschas Date: Thu, 18 Oct 2018 22:20:30 +0000 (+0200) Subject: travis: Use ctest to execute unit tests X-Git-Tag: test-travis-01~99 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=b7936062b08a743e6dec917ac5e727e7b2cd3bb8 travis: Use ctest to execute unit tests ctest gives us more options than make/ninja, for example verbose output. --- diff --git a/.travis.yml b/.travis.yml index 553eb16c..4e2efee0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -44,7 +44,7 @@ script: -DBUILD_TESTING=ON \ && ninja install \ && ccache -s \ - && ninja test \ + && ctest -VV \ " # Define a separate job for OSX @@ -72,7 +72,7 @@ jobs: cmake -GNinja .. -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON -DDEPLOY=$DEPLOY ninja install - ccache -s - - ninja test + - ctest -VV deploy: provider: releases api_key: "${GH_TOKEN}"