]> Nishi Git Mirror - gwion.git/commitdiff
:wrench: coveralls
authorfennecdjay <astor.jeremie@wanadoo.fr>
Thu, 4 Jul 2019 15:27:44 +0000 (17:27 +0200)
committerfennecdjay <astor.jeremie@wanadoo.fr>
Thu, 4 Jul 2019 15:27:44 +0000 (17:27 +0200)
.travis.yml

index bb025f6ef2e18761688027ce134d6ce5ae2cce4e..e4e924a229ecb6abbf916befb65a60f91ba9732f 100644 (file)
@@ -41,7 +41,11 @@ compiler:
   - clang
 
 install:
-  - if [ $TRAVIS_JOB_NUMBER = ${TRAVIS_BUILD_NUMBER}.1  ]; then gem install coveralls-lcov; fi;
+  - if [ $TRAVIS_JOB_NUMBER = ${TRAVIS_BUILD_NUMBER}.1  ]; then
+        pip install cpp-coveralls;
+        export COVERAGE=1;
+        fi;
+#  - if [ $TRAVIS_JOB_NUMBER = ${TRAVIS_BUILD_NUMBER}.1  ]; then gem install coveralls-lcov; fi;
   - if [ $(uname) != "Linux" ] && [ $(uname) != "Darwin" ]; then 
       choco install make;
       export BUILD_ON_WINDOWS=1;
@@ -70,5 +74,10 @@ script:
     }
     fi;
 
+after_success:
+  - if [ $TRAVIS_JOB_NUMBER = ${TRAVIS_BUILD_NUMBER}.1  ]; then
+      overalls --exclude lib --exclude tests --gcov-options '\-lp;
+    fi
+
 git:
   submodules: false