From bde8b30d5cc2bbc25bf60d2a013880f7f7597e83 Mon Sep 17 00:00:00 2001 From: ZeroNet Date: Fri, 20 Dec 2019 17:32:49 +0100 Subject: [PATCH] Upload logs after failure, remove sometimes failing coverage check --- .travis.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index deb96b5d..148bd402 100644 --- a/.travis.yml +++ b/.travis.yml @@ -34,11 +34,9 @@ script: - find src -name "*.json" | xargs -n 1 python3 -c "import json, sys; print(sys.argv[1], end=' '); json.load(open(sys.argv[1])); print('[OK]')" - find plugins -name "*.json" | xargs -n 1 python3 -c "import json, sys; print(sys.argv[1], end=' '); json.load(open(sys.argv[1])); print('[OK]')" - flake8 . --count --select=E9,F63,F72,F82 --show-source --statistics --exclude=src/lib/pybitcointools/ -after_success: - - codecov - - coveralls --rcfile=src/Test/coverage.ini after_failure: - - find log -name "*.log" -print -exec cat {} \; + - zip -r log.zip log/ + - curl --upload-file ./log.zip https://transfer.sh/log.zip notifications: email: recipients: