fixed added upload gradle log
This commit is contained in:
parent
93a71ac75d
commit
e16f9c2b31
|
@ -70,6 +70,8 @@ before_script:
|
||||||
- patch --dry-run -d twidere < twidere/patches/remove_closed_source_dependencies.patch
|
- patch --dry-run -d twidere < twidere/patches/remove_closed_source_dependencies.patch
|
||||||
# Validate if Google components fetched successfully
|
# Validate if Google components fetched successfully
|
||||||
- test -f twidere/src/google/AndroidManifest.xml
|
- test -f twidere/src/google/AndroidManifest.xml
|
||||||
|
# Remove gradle daemon log generated last time
|
||||||
|
- find ~/.gradle/daemon/ -name 'daemon-*.log' -exec rm {} \;
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- ./gradlew clean
|
- ./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
|
- 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
|
- 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 /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:
|
deploy:
|
||||||
provider: releases
|
provider: releases
|
||||||
|
|
Loading…
Reference in New Issue