Do not try to compile kiwix-android if we make a release.

kiwix-android is following its own release process and tagging policy.
Will should fix this in the future but trying to compile kiwix-android
master branch may fail with tagged version of kiwix-lib.
This commit is contained in:
Matthieu Gautier 2018-02-23 14:50:48 +01:00
parent 5ffa9ca323
commit f6c3083505
1 changed files with 6 additions and 1 deletions

View File

@ -96,7 +96,12 @@ if environ['TRAVIS_EVENT_TYPE'] != 'cron' and not make_release:
sys.exit(0)
if PLATFORM.startswith('android'):
TARGETS = ('libzim', 'kiwix-lib', 'kiwix-android')
if make_release:
# (For now ?) kiwix-android follow it own release process.
# Do not try to make a release of it
TARGETS = ('libzim', 'kiwix-lib')
else:
TARGETS = ('libzim', 'kiwix-lib', 'kiwix-android')
elif PLATFORM.startswith('native_'):
TARGETS = ('libzim', 'zimwriterfs', 'zim-tools', 'kiwix-lib', 'kiwix-tools')
else: