Commit 4c10d1afebfd1923e842c34c4fa44f67c2bbf9af

Vicent Martí 2012-12-20T08:49:32

Merge pull request #1166 from scunz/antibiotica_for_travis Mark travis build as failed if any test fails

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/.travis.yml b/.travis.yml
index 4b37998..8ce4903 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -29,10 +29,10 @@ script:
  - cd _build
  - cmake .. -DCMAKE_INSTALL_PREFIX=../_install $OPTIONS
  - cmake --build . --target install
+ - ctest -V .
 
 # Run Tests
 after_script:
- - ctest -V .
  - if [ -f ./libgit2_clar ]; then valgrind --leak-check=full --show-reachable=yes --suppressions=../libgit2_clar.supp ./libgit2_clar -iall; else echo "Skipping valgrind"; fi
 
 # Only watch the development branch