fixing build script
This commit is contained in:
parent
2699e4fe95
commit
61f0796345
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
Loading…
Reference in New Issue