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
|
2018-09-26 20:56:44 +02:00
|
|
|
- build-tools-28.0.2
|
|
|
|
- android-28
|
2017-06-17 00:25:24 +02:00
|
|
|
- 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
|
2017-07-03 11:12:10 +02:00
|
|
|
licenses:
|
|
|
|
- ".+"
|
2017-12-10 20:25:29 +01:00
|
|
|
before_install:
|
2018-09-26 20:56:44 +02:00
|
|
|
- openssl aes-256-cbc -K $encrypted_0454d0cf846c_key -iv $encrypted_0454d0cf846c_iv
|
|
|
|
-in files/frost.tar.enc -out files/frost.tar -d
|
|
|
|
- tar xvf files/frost.tar
|
|
|
|
- yes | sdkmanager "platforms;android-28"
|
2017-06-02 03:09:43 +02:00
|
|
|
after_success:
|
2017-11-13 19:37:58 +01:00
|
|
|
- chmod +x ./generate-apk-release.sh; ./generate-apk-release.sh
|
2017-06-02 03:09:43 +02:00
|
|
|
script:
|
|
|
|
- cd $TRAVIS_BUILD_DIR/
|
2017-07-06 23:13:04 +02:00
|
|
|
- printf "Starting script\n"
|
2017-08-20 08:27:11 +02:00
|
|
|
- chmod +x gradlew
|
2017-11-10 07:06:27 +01:00
|
|
|
- "./gradlew --quiet androidGitVersion"
|
|
|
|
- "./gradlew lintReleaseTest testReleaseUnitTest assembleReleaseTest"
|
2017-06-02 03:09:43 +02:00
|
|
|
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-11-10 07:06:27 +01:00
|
|
|
- Frost Build <%{build_url}|#%{build_number}> (<%{compare_url}|%{commit}>) of
|
|
|
|
%{repository}@%{branch} %{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-11-13 19:37:58 +01:00
|
|
|
branches:
|
|
|
|
except:
|
|
|
|
- l10n_dev
|
2017-06-17 00:33:08 +02:00
|
|
|
before_cache:
|
2017-07-03 02:24:17 +02:00
|
|
|
- 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-07-03 02:24:17 +02:00
|
|
|
- "$HOME/.gradle/caches/"
|
|
|
|
- "$HOME/.gradle/wrapper/"
|
|
|
|
- "$HOME/.android/build-cache"
|
|
|
|
- "$HOME/.m2s"
|
2017-06-02 03:09:43 +02:00
|
|
|
env:
|
|
|
|
global:
|
2017-11-10 07:06:27 +01:00
|
|
|
- secure: X3J97ccW+8K0bXPXhX608vPx7Pr/G4ju7quxydqMaYGgClHxoL/WpXOBAyyllde5P28PY4kioaqcI21BEhnAw0QUbmnzVLA1Qd5VS7aMPHpEnInKuOxGZ2d570OZd1f+ozFVt05vzG0VBJlBAkVhz2GWNxQdmIV1sO28MH526JMuYaEREuuywVSZmAeY7AAbW9MeCC2wvHvNmhk2nk6NLRQcsrDHcBsimy9fnnQ9lT/QsvToi1ZJd/MN7YkGDUULR+YmaotBzG546UJ1EiZQX91bFEJfP0oL43Pk7t5snzmHnKjLOr8Mt5QsIUXaiy/uzhUVmuDh1i0GEpZmhqM7nz/T6P7ogaLbbyJeauNmf15nu+e3hSvNiTzKyIwfSSflv8Do3g8/Eo3dKfIi3I8/OKF/uZ76kywh2LRqtZAqxRDiAMDZVwsRgD4aztoWm5AWa3tSoGy1J7i1eoqX6bNqokRbjgheTqcjN13kCdSZi3pZX7UBYm2Vumhn4izhTume19Rh9SqTmRgQ8jM7ynxHh7vVsJPPJG0HbQ623xz+d9mtXGy1fAb0dcUJMXdOhFN3m6AnKuHiF7cmsqje7Euk/TOZyqZmu0xEhTkugMbNKwGrklJiwRr3IoLtPdhLE38u3/auloUqBQ4K/iA9ZdhAreTSHEaI9d3J4N6kqCj3U30=
|