Merge pull request #3161 from wpaulino/travis-logs-regression

travis: fix log upload regression after itest move
This commit is contained in:
Olaoluwa Osuntokun 2019-06-05 08:48:08 +02:00 committed by GitHub
commit 1077e74667
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -39,5 +39,6 @@ script:
- 'if [ "$COVER" = true ]; then make travis-cover; fi'
after_script:
- 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'
- LOG_FILES=./lntest/itest/*.log
- echo "Uploading to termbin.com..." && find $LOG_FILES | xargs -I{} sh -c "cat {} | nc termbin.com 9999 | xargs -r0 printf '{} uploaded to %s'"
- echo "Uploading to file.io..." && tar -zcvO $LOG_FILES | curl -s -F 'file=@-;filename=logs.tar.gz' https://file.io | xargs -r0 printf 'logs.tar.gz uploaded to %s\n'