[TRAVIS] Do not make a deps archive when PLATFORM is android.

We never use the android platform in other project. We always an arch
specific android platform (android_arm).

So, do not try to do any dependencies archives there.
Especially if travis kill the job because it takes too long to create
the archive.
This commit is contained in:
Matthieu Gautier 2018-07-16 18:31:50 +02:00
parent eed1ddce4e
commit 25af2cfa6c
1 changed files with 1 additions and 1 deletions

View File

@ -308,7 +308,7 @@ else:
TARGETS = ('libzim', 'zim-tools', 'kiwix-lib', 'kiwix-tools') TARGETS = ('libzim', 'zim-tools', 'kiwix-lib', 'kiwix-tools')
for target in TARGETS: for target in TARGETS:
if environ['TRAVIS_EVENT_TYPE'] == 'cron': if environ['TRAVIS_EVENT_TYPE'] == 'cron' and PLATFORM != 'android':
run_kiwix_build(target, run_kiwix_build(target,
platform=PLATFORM, platform=PLATFORM,
build_deps_only=True) build_deps_only=True)