From 18342410f02044aa52a75afbd143e8e596e41445 Mon Sep 17 00:00:00 2001 From: Wilmer Paulino Date: Tue, 4 Jun 2019 14:51:25 -0700 Subject: [PATCH] travis: fix log upload regression after itest move --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 618558792..b5aad649e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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'