[TRAVIS] Use target_only only if we are building in a cron.
The deps will be build only if we are in a cron. In this case, we can directly build only the target. But in other case, we have to build the target and its dependencies.
This commit is contained in:
parent
c3cacb387f
commit
37e2b709f8
|
@ -289,7 +289,7 @@ for target in TARGETS:
|
||||||
run_kiwix_build(target,
|
run_kiwix_build(target,
|
||||||
platform=PLATFORM,
|
platform=PLATFORM,
|
||||||
make_release=make_release,
|
make_release=make_release,
|
||||||
target_only=True)
|
target_only=environ['TRAVIS_EVENT_TYPE'] == 'cron')
|
||||||
if target == 'kiwix-desktop':
|
if target == 'kiwix-desktop':
|
||||||
create_app_image()
|
create_app_image()
|
||||||
if make_release and PLATFORM == 'native_dyn':
|
if make_release and PLATFORM == 'native_dyn':
|
||||||
|
|
Loading…
Reference in New Issue