projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests: Enable tests in Travis
[quassel.git]
/
.travis.yml
diff --git
a/.travis.yml
b/.travis.yml
index
316377f
..
ec65a2d
100644
(file)
--- a/
.travis.yml
+++ b/
.travis.yml
@@
-40,8
+40,10
@@
script:
sh -c "cmake /src $CMAKE_OPTIONS \
-GNinja \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
sh -c "cmake /src $CMAKE_OPTIONS \
-GNinja \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DBUILD_TESTING=ON \
&& ninja install \
&& ccache -s \
&& ninja install \
&& ccache -s \
+ && ninja test \
"
# Define a separate job for OSX
"
# Define a separate job for OSX
@@
-65,9
+67,10
@@
jobs:
if [[ "$TRAVIS_TAG" != "" && "$GH_TOKEN" != "" ]]; then
DEPLOY=ON
fi
if [[ "$TRAVIS_TAG" != "" && "$GH_TOKEN" != "" ]]; then
DEPLOY=ON
fi
- cmake -GNinja .. -DCMAKE_BUILD_TYPE=Release -DDEPLOY=$DEPLOY
+ cmake -GNinja .. -DCMAKE_BUILD_TYPE=Release -D
BUILD_TESTING=ON -D
DEPLOY=$DEPLOY
ninja install
- ccache -s
ninja install
- ccache -s
+ - ninja test
deploy:
provider: releases
api_key: "${GH_TOKEN}"
deploy:
provider: releases
api_key: "${GH_TOKEN}"