2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-03 23:15:31 +00:00
iceraven-browser/.travis.yml
2020-09-07 14:52:30 -07:00

17 lines
956 B
YAML

language: android
dist: trusty
script:
- 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
# Run tests but don't complain just because some fail.
# TODO: Change this once we get all the tests passing.
- (./gradlew -q testDebug 2>&1 || true) | tee testlog.txt
# Fail if more tests fail than we think should
- '[[ $(cat testlog.txt | grep ''tests completed'' | sed ''s/.* \([0-9]*\) failed.*/\1/g'') -le 5 ]]'
# Make sure a release build builds
- ./gradlew assembleForkRelease -PversionName="$(git describe --tags HEAD)"