Skip to content

Commit f94f34f

Browse files
committed
Use new codecov uploader
1 parent 89baaba commit f94f34f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,5 +67,7 @@ matrix:
6767
- ctest --build-and-test . build --build-generator Ninja --build-options -DBUILD_TESTING=ON -DCMAKE_BUILD_TYPE=Debug -DCOVERAGE=ON -DCMAKE_CXX_COMPILER=g++-7 -DCMAKE_C_COMPILER=gcc-7 --test-command ctest
6868
- gcovr --gcov-executable gcov-7 -r . ./build -s -x coverage.xml -e ".*\.h" --exclude-directories=$TRAVIS_BUILD_DIR/build/UNITTESTS --exclude-directories=$TRAVIS_BUILD_DIR/build/_deps
6969
- ccache -s
70-
- bash <(curl -s https://codecov.io/bash) -f coverage.xml -t 57166f89-22b3-4949-9488-ddd3c78123fb
70+
- curl -Os https://uploader.codecov.io/latest/linux/codecov
71+
- chmod +x codecov
72+
- ./codecov -f coverage.xml -t 57166f89-22b3-4949-9488-ddd3c78123fb
7173

0 commit comments

Comments
 (0)