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

This commit is contained in:
Oliver Gugger committed 2018-05-01 13:16:21 +03:00
1 parent 09c9979831
commit b75429c6fe
1 file changed
+2 -1
+2 -1
View File
@@ -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'