test: upload integration test logs from TravisCI to file.io

This commit is contained in:
Oliver Gugger 2018-04-27 12:58:21 +03:00
parent 09c9979831
commit b75429c6fe

@ -16,4 +16,5 @@ script:
- export PATH=$PATH:$GOPATH/bin
- make travis
after_script:
- find *.log | xargs -I{} sh -c "cat {} | nc termbin.com 9999 | xargs -r0 printf '{} uploaded to %s'"
- echo "Uploading to termbin.com..." && find *.log | xargs -I{} sh -c "cat {} | nc termbin.com 9999 | xargs -r0 printf '{} uploaded to %s'"
- echo "Uploading to file.io..." && tar -zcvO *.log | curl -s -F 'file=@-;filename=logs.tar.gz' https://file.io | xargs -r0 printf 'logs.tar.gz uploaded to %s\n'