mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-02-12 23:17:03 +00:00
codecov: try alternative approach to get codecov data out of the docker container
This commit is contained in:
parent
5dfde99fe6
commit
e95315e57c
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user