fixing build script

This commit is contained in:
Mariotaku Lee 2017-09-09 16:04:34 +08:00
parent 2699e4fe95
commit 61f0796345
No known key found for this signature in database
GPG Key ID: 15C10F89D7C33535
3 changed files with 10 additions and 5 deletions

View File

@ -59,7 +59,7 @@ before_script:
- ./travis/scripts/test_private_files.sh
script:
- ./gradlew clean build
- ./gradlew build
after_failure:
- ./travis/scripts/upload_error_logs.sh
@ -76,7 +76,7 @@ deploy:
tags: true
# Publish to Google Play store
- provider: script
script: ./travis/scripts/google_play_deploy.sh
script: ./travis/scripts/google_play_deploy.sh ./twidere/src/google/.supplyrc
on:
repo: TwidereProject/Twidere-Android
tags: true

View File

@ -6,7 +6,7 @@ buildscript {
maven { url 'https://maven.google.com' }
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.0-beta4'
classpath 'com.android.tools.build:gradle:3.0.0-beta5'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}

View File

@ -1,6 +1,11 @@
#!/bin/bash
fastlane --version
set -o allexport
source ./twidere/src/google/.supplyrc
source $1
fastlane supply run
retcode=$?
set +o allexport
exit $retcode