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

View File

@ -6,7 +6,7 @@ buildscript {
maven { url 'https://maven.google.com' } maven { url 'https://maven.google.com' }
} }
dependencies { 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 // NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files // in the individual module build.gradle files
} }

View File

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