diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2014-07-22 21:05:53 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2014-07-22 21:05:53 +0200 |
commit | 8386c1a210b51f9c3f9a3be11ed062f33d46dd9c (patch) | |
tree | 81fb51f5072a23179bb76b34c7a064cf7fabe6ef /scripts/build.sh | |
parent | 9177e02f1a9ff5347f20d1aa18fdf815fe8cbb7e (diff) | |
download | weechat-8386c1a210b51f9c3f9a3be11ed062f33d46dd9c.zip |
tests: run tests after build on Travis CI
Diffstat (limited to 'scripts/build.sh')
-rwxr-xr-x | scripts/build.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/build.sh b/scripts/build.sh index 2f00c3e2a..1a60f3452 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -52,15 +52,17 @@ run "cd $BUILDDIR" if [ "$BUILDTOOL" = "cmake" ]; then # build with CMake - run "cmake .. -DENABLE_MAN=ON -DENABLE_DOC=ON" + run "cmake .. -DENABLE_MAN=ON -DENABLE_DOC=ON -DENABLE_TESTS=ON" run "make VERBOSE=1" run "sudo make install" + run "ctest -V" fi if [ "$BUILDTOOL" = "autotools" ]; then # build with autotools run "../autogen.sh" - run "../configure --enable-man --enable-doc" + run "../configure --enable-man --enable-doc --enable-tests" run "make" run "sudo make install" + run "./tests/tests -v" fi |