fixed added upload gradle log

This commit is contained in:
Mariotaku Lee 2017-03-05 22:08:28 +08:00
parent 93a71ac75d
commit e16f9c2b31
No known key found for this signature in database
GPG Key ID: 15C10F89D7C33535
1 changed files with 3 additions and 0 deletions

View File

@ -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