Code

Travis: Only run coveralls when using gcc.
authorSebastian Harl <sh@tokkee.org>
Thu, 10 Apr 2014 14:02:11 +0000 (16:02 +0200)
committerSebastian Harl <sh@tokkee.org>
Thu, 10 Apr 2014 14:02:11 +0000 (16:02 +0200)
We don't have any gcov information in any other case.

.travis.yml

index 95f4ba5ca6de5b28d1b75182b203d213040baa55..87badb67b5e6da759f1a72b8eb031f8740e321f5 100644 (file)
@@ -15,7 +15,7 @@ install:
   - pip show cpp-coveralls
 script: ./t/cibuild.sh
 after_success:
-  - coveralls --build-root src --exclude t
+  - test "${CC}x" != "gccx" || coveralls --build-root src --exclude t
 branches:
   only:
     - master