always run codecov coverage collector after successful build
@@ -4,6 +4,9 @@ addons:
# after_success is only used for Dockerhub and should run last.
after_success:
- WEAVIATE_VERSION=$(cat openapi-specs/schema.json| jq -r '.info.version')
+ - |
+ # send to codecov.io
+ bash <(curl -s https://codecov.io/bash)
- |
# only push to Dockerhub if master and not a PR
if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then
@@ -22,8 +25,6 @@ after_success:
# push the release
travis_wait 30 docker push $TAG
travis_wait 30 docker push $LATESTTAG
- # send to codecov.io
- bash <(curl -s https://codecov.io/bash)
# do a release
elif [ -n "$TRAVIS_TAG" ]; then
TAG=$DOCKER_ID$TRAVIS_TAG
