]> danny-edel.de - dspdfviewer.git/commitdiff
travis: use bash uploader for codecov
authorDanny Edel <mail@danny-edel.de>
Fri, 20 May 2016 09:01:54 +0000 (11:01 +0200)
committerDanny Edel <mail@danny-edel.de>
Fri, 20 May 2016 09:01:54 +0000 (11:01 +0200)
This eliminates the need for pip/python

.travis.yml

index 4e73dbbe07cd3573a372c4c2052714b8eb393425..cfefaff5f76ef6f48121ac9c762f56e0f6e99196 100644 (file)
@@ -71,12 +71,9 @@ install:
 script: _travis/test
 after_success:
     - ccache -s
-    - pip install --user codecov
     - >
-        if [[ "$TRAVIS_OS_NAME" == "osx" ]] ; then
-          ~/Library/Python/*/bin/codecov ;
-        elif [[ "$CXX" == "clang++" ]] ; then
-          ~/.local/bin/codecov --gcov-exec llvm-cov ;
+        if [[ "$CXX" == "clang++" && "$TRAVIS_OS_NAME" != "osx" ]] ; then
+          bash <(curl -s https://codecov.io/bash) -x llvm-cov
         else
-          ~/.local/bin/codecov ;
+          bash <(curl -s https://codecov.io/bash)
         fi