mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-11 13:11:01 +00:00
17 lines
782 B
YAML
17 lines
782 B
YAML
language: android
|
|
dist: trusty
|
|
script:
|
|
# Prepare SDK
|
|
- sudo mkdir -p /usr/local/android-sdk/licenses/
|
|
- sudo touch /usr/local/android-sdk/licenses/android-sdk-license
|
|
- echo "8933bad161af4178b1185d1a37fbf41ea5269c55" | sudo tee -a /usr/local/android-sdk/licenses/android-sdk-license
|
|
- echo "d56f5187479451eabf01fb78af6dfcb131a6481e" | sudo tee -a /usr/local/android-sdk/licenses/android-sdk-license
|
|
- echo "24333f8a63b6825ea9c5514f83c2829b004d1fee" | sudo tee -a /usr/local/android-sdk/licenses/android-sdk-license
|
|
# The build needs this but Gradle refuses to fetch it.
|
|
- sdkmanager "ndk;21.0.6113669"
|
|
# Run tests
|
|
- ./gradlew -q testDebug 2>&1
|
|
# Make sure a release build builds
|
|
- ./gradlew assembleForkRelease -PversionName="$(git describe --tags HEAD)"
|
|
|