mirror of
https://github.com/ankidroid/Anki-Android.git
synced 2024-09-20 12:02:16 +02:00
1d3a1fabb9
This commit updates the configuration for Travis CI to build the release branches, as well as the 'develop' branch. This should make it so that pull requests on those branches automatically get a notification about whether the code builds correctly.
19 lines
562 B
YAML
19 lines
562 B
YAML
language: java
|
|
branches:
|
|
only:
|
|
- /^release-[0-9.]*$/
|
|
- /^develop$/
|
|
|
|
before_install:
|
|
# Needed to run Android SDK tools, which are 32-bit binaries.
|
|
- sudo apt-get update -qq
|
|
- if [ `uname -m` = x86_64 ]; then sudo apt-get install -qq --force-yes libgd2-xpm ia32-libs ia32-libs-multiarch > /dev/null; fi
|
|
before_script:
|
|
# Configure Android SDK tools and platforms required to build.
|
|
- ./tools/travis/continuous-setup.sh ..
|
|
script: "./tools/travis/continuous-build-and-test.sh"
|
|
|
|
notifications:
|
|
email:
|
|
- flerda+ankidroid-continuous@gmail.com
|