Upload logs after failure, remove sometimes failing coverage check

This commit is contained in:
ZeroNet 2019-12-20 17:32:49 +01:00 committed by GitHub
parent 87d1c736e2
commit bde8b30d5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 4 deletions

View File

@ -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: