1
0
mirror of https://github.com/AllanWang/Frost-for-Facebook.git synced 2024-11-12 22:12:36 +01:00
Frost-for-Facebook/.travis.yml
Allan Wang 438affb07a Cleanup (#1087)
* Feature/download manager (#855)

* Add initial github release check

* Create update service

* Clean old manager directory

* Update kau

* Update updateActivity snippet

* Add back gradle keys

* Remove update service functionality

* Update changelog

* Misc (#865)

* Clean up git code

* Update download link

* Update theme

* Reorder settings, resolvees #856

* Do not log undeliverable exception

* Handle potential lack of webview

* Set notification epoch default to now, resolves #857

* Fix notification epoch time init

* Update changelog

* Update theme

* Add slack url, resolves #880

* Prepare for image update

* Fix view full image (#882)

* Test including full photo viewer

* Test cookie in glide

* Fix parser and add redirects to view full image

* Update changelog

* Fix compilation and add new keys

* Update all versions

* Fix signing configs

* Fix exoplayer api update

* Change string usage

* Test scss on travis

* Test with node_js flag

* Add back css

* Update versions and fix video view
2018-09-26 14:56:44 -04:00

57 lines
2.1 KiB
YAML

language: android
jdk:
- oraclejdk8
android:
components:
- tools
- platform-tools
- build-tools-28.0.2
- android-28
- extra-android-support
- extra-android-m2repository
- extra-google-m2repository
licenses:
- ".+"
before_install:
- 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"
after_success:
- chmod +x ./generate-apk-release.sh; ./generate-apk-release.sh
script:
- cd $TRAVIS_BUILD_DIR/
- printf "Starting script\n"
- chmod +x gradlew
- "./gradlew --quiet androidGitVersion"
- "./gradlew lintReleaseTest testReleaseUnitTest assembleReleaseTest"
notifications:
email: false
slack:
rooms:
- pitchedapps:G5OB9U1vsDxy9mxt0Nt6gbFu#frost-for-facebook
on_success: always
on_failure: always
template:
- Frost Build <%{build_url}|#%{build_number}> (<%{compare_url}|%{commit}>) of
%{repository}@%{branch} %{result} in %{duration}
- "%{commit_subject}"
- "<https://github.com/AllanWang/Frost-for-Facebook-APK-Builder/releases/tag/v%{build_number}|APK
Download>"
sudo: false
branches:
except:
- l10n_dev
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- "$HOME/.gradle/caches/"
- "$HOME/.gradle/wrapper/"
- "$HOME/.android/build-cache"
- "$HOME/.m2s"
env:
global:
- secure: X3J97ccW+8K0bXPXhX608vPx7Pr/G4ju7quxydqMaYGgClHxoL/WpXOBAyyllde5P28PY4kioaqcI21BEhnAw0QUbmnzVLA1Qd5VS7aMPHpEnInKuOxGZ2d570OZd1f+ozFVt05vzG0VBJlBAkVhz2GWNxQdmIV1sO28MH526JMuYaEREuuywVSZmAeY7AAbW9MeCC2wvHvNmhk2nk6NLRQcsrDHcBsimy9fnnQ9lT/QsvToi1ZJd/MN7YkGDUULR+YmaotBzG546UJ1EiZQX91bFEJfP0oL43Pk7t5snzmHnKjLOr8Mt5QsIUXaiy/uzhUVmuDh1i0GEpZmhqM7nz/T6P7ogaLbbyJeauNmf15nu+e3hSvNiTzKyIwfSSflv8Do3g8/Eo3dKfIi3I8/OKF/uZ76kywh2LRqtZAqxRDiAMDZVwsRgD4aztoWm5AWa3tSoGy1J7i1eoqX6bNqokRbjgheTqcjN13kCdSZi3pZX7UBYm2Vumhn4izhTume19Rh9SqTmRgQ8jM7ynxHh7vVsJPPJG0HbQ623xz+d9mtXGy1fAb0dcUJMXdOhFN3m6AnKuHiF7cmsqje7Euk/TOZyqZmu0xEhTkugMbNKwGrklJiwRr3IoLtPdhLE38u3/auloUqBQ4K/iA9ZdhAreTSHEaI9d3J4N6kqCj3U30=