From e16f9c2b315ee9476adbf87dc48a80d436cedd95 Mon Sep 17 00:00:00 2001 From: Mariotaku Lee Date: Sun, 5 Mar 2017 22:08:28 +0800 Subject: [PATCH] fixed added upload gradle log --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index 05a17c75c..a1e6f520d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -70,6 +70,8 @@ before_script: - patch --dry-run -d twidere < twidere/patches/remove_closed_source_dependencies.patch # Validate if Google components fetched successfully - test -f twidere/src/google/AndroidManifest.xml + # Remove gradle daemon log generated last time + - find ~/.gradle/daemon/ -name 'daemon-*.log' -exec rm {} \; script: - ./gradlew clean @@ -79,6 +81,7 @@ after_failure: - curl "https://raw.githubusercontent.com/andreafabrizi/Dropbox-Uploader/master/dropbox_uploader.sh" -o travis/scripts/dropbox_uploader.sh - chmod +x travis/scripts/dropbox_uploader.sh - find /tmp -maxdepth 1 -name 'kotlin-daemon.*.log' -exec sh -c 'travis/scripts/dropbox_uploader.sh upload $1 $TRAVIS_BUILD_ID/$(basename $1)' find-sh {} \; + - find ~/.gradle/daemon/ -name 'daemon-*.log' -exec sh -c 'travis/scripts/dropbox_uploader.sh upload $1 $TRAVIS_BUILD_ID/gradle-$(basename $1)' find-sh {} \; deploy: provider: releases