diff --git a/.travis.yml b/.travis.yml index a2459d1..5464033 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,7 +24,11 @@ install: script: # https://docs.codecov.io/docs/testing-with-docker - - ci_env=$(bash <(curl -s https://codecov.io/env)) ; echo $ci_env ; docker run $ci_env britney /bin/sh -c "export CI=true ; ci/run-everything-and-upload-to-codecov.io.sh" + - mkdir shared + - docker run -v "$PWD/shared:/shared" britney /bin/sh -c "export CI=true ; ci/run-everything-and-upload-to-codecov.io.sh" + +after-success: + - bash <(curl -s https://codecov.io/bash) #notifications: # email: false diff --git a/ci/run-everything-and-upload-to-codecov.io.sh b/ci/run-everything-and-upload-to-codecov.io.sh index 29c2b6a..e5e6535 100755 --- a/ci/run-everything-and-upload-to-codecov.io.sh +++ b/ci/run-everything-and-upload-to-codecov.io.sh @@ -31,7 +31,7 @@ if [ $err = 0 ] ; then echo python3-coverage xml -i || true echo - bash <(curl -s https://codecov.io/bash) || true + mv .coverage shared fi exit $err