1
0
mirror of https://github.com/AllanWang/Frost-for-Facebook.git synced 2024-11-08 20:12:39 +01:00
Frost-for-Facebook/.travis.yml

57 lines
2.9 KiB
YAML
Raw Normal View History

2017-06-17 00:28:32 +02:00
language: android
2017-06-02 03:09:43 +02:00
jdk:
- oraclejdk8
android:
components:
- tools
- platform-tools
2017-06-17 00:25:24 +02:00
- build-tools-26.0.0
- android-26
- extra-android-support
2017-06-02 03:09:43 +02:00
- extra-android-m2repository
2017-06-17 00:25:24 +02:00
- extra-google-m2repository
licenses:
- '.+'
2017-06-02 03:09:43 +02:00
before_install:
- chmod +x gradlew
- export JAVA8_HOME=/usr/lib/jvm/java-8-oracle
- export JAVA_HOME=$JAVA8_HOME
- mkdir "$ANDROID_HOME/licenses" || true
- echo -e "\n8933bad161af4178b1185d1a37fbf41ea5269c55" > "$ANDROID_HOME/licenses/android-sdk-license"
- echo -e "\n84831b9409646a918e30573bab4c9c91346d8abd" > "$ANDROID_HOME/licenses/android-sdk-preview-license"
2017-06-06 08:25:31 +02:00
before_script:
- echo "apiSecret=$FABRIC_SECRET" > app/fabric.properties
2017-06-02 03:09:43 +02:00
after_success:
- chmod +x ./generate-apk-release.sh
- "./generate-apk-release.sh"
script:
- cd $TRAVIS_BUILD_DIR/
- "./gradlew assembleReleaseTest"
notifications:
email: false
2017-06-04 07:50:52 +02:00
slack:
rooms:
- pitchedapps:G5OB9U1vsDxy9mxt0Nt6gbFu#frost-for-facebook
on_success: always
on_failure: always
template:
2017-06-06 08:25:31 +02:00
- Frost Build <%{build_url}|#%{build_number}> (<%{compare_url}|%{commit}>) %{result}
in %{duration}
2017-06-04 07:50:52 +02:00
- "%{commit_subject}"
2017-06-06 08:25:31 +02:00
- "<https://github.com/AllanWang/Frost-for-Facebook-APK-Builder/releases/tag/v%{build_number}|APK
Download>"
2017-06-02 03:09:43 +02:00
sudo: false
2017-06-17 00:27:01 +02:00
#before_cache:
# - rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
# - rm -fr $HOME/.gradle/caches/*/plugin-resolution/
2017-06-02 03:09:43 +02:00
cache:
directories:
2017-06-17 00:27:01 +02:00
# - $HOME/.gradle/caches/
# - $HOME/.gradle/wrapper/
# - $HOME/.android/build-cache
2017-06-17 00:12:26 +02:00
- $HOME/.m2s
2017-06-02 03:09:43 +02:00
env:
global:
2017-06-04 06:34:17 +02:00
- secure: Sob0b0PXhJ5uq+quf74Vl/jWaJ0RVGqTcn83p45iQI/OCEvCLyLk4FojDrtEuu1wUrWNYnv4EpX2WcAUO8+93e93Y3XIfSltXOWnXtM6usSMm7/2iiT1nR0Q6L1mC0rFLvkkhnm1mlq1DGOZKB3eI6WJKx0+/oX3gWUWgmeTsTln7YjQl/QHIk4tJFt3K+DE0fDJfo561OawC2UUPESULv5O/fd4fbnVIcJYJDBciPqT/PNJ+Rx3DqKO3BKam6+ulv5fByCcPaDXiJ7NfWw+ggpgEBZaIoGy/UL6/it1LiDXRE2yHE1kRTjMOmiCd71pL26J0n4c+o2ldTSMz0dScmbA4c+elQDwCjtnXw21B/pNavRvhGX6iqRl2A3z5/ivVf6foSpCSzLm6FZSizAnMBAa0TxmPiM4F3QWvwtF6Rgo7hD/iuTVUW4i6mOIDfTWRPD4Ha6zdkj6OCRZ1OsIuw3OiYZNtlytX7aTyHIC2aoZw0sUkExbE/3fCP1Ej6632zxGjhof8jlvrnFJZacf921Q0/4O52H6KaQM6L0CV+YpPuctsEkFeoZ6xR0WXS9RTmCyGC3J6Qv+GWlbkFyLsphz43HSaGb8pIrljjmP1N7Q/7Oft54yEwbT6s8pXmBymkVeJQuyKTHzg5yyZgddWbiWM20kN6RA8jnykTMy5FU=
2017-06-06 08:25:31 +02:00
- secure: gBv1cAGcw8Nv/n+dprdgG/IFuVqPnyNc+MvJBGTf/s7F6tYRHcP+2l+PUr4I07Ao7XtF1w9xLdeU2JbeM40mjACo/SzIrtOIh6Rehdep/VNO3d5p06qykM3sGL2DlWfA5ALFmtRwFZwKMJ0mZKbOd0kYih85CWw17EL//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