From 43937caf6df9b9021b4300c0ac546ee5d11e7416 Mon Sep 17 00:00:00 2001 From: Matthieu Gautier Date: Tue, 5 Dec 2017 09:29:01 +0000 Subject: [PATCH] Make travis create the dist archive. TODO: Copy the archive at the right place. --- travis/compile_all.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/travis/compile_all.sh b/travis/compile_all.sh index c6648a5..ef6cf3f 100755 --- a/travis/compile_all.sh +++ b/travis/compile_all.sh @@ -84,6 +84,14 @@ EOF --hide-progress \ --make-release \ --target-platform $PLATFORM ${TARGET} + if [[ "$PLATFORM" == "native_dyn" ]] + then + ${TRAVIS_BUILD_DIR}/kiwix-build.py \ + --hide-progress \ + --make-release \ + --make-dist \ + --target-platform $PLATFORM ${TARGET} + fi else ${TRAVIS_BUILD_DIR}/kiwix-build.py \ --hide-progress \ @@ -94,6 +102,10 @@ EOF # We have build every thing. Now create archives for public deployement. case ${PLATFORM} in + native_dyn) + #[TODO] Copy archive somewhere + #scp ${BASE_DIR}/${TARGET}/${TARGET}-${TARGET-version}.tar.gz ${SOMEWHERE} + ;; native_static) make_archive kiwix_tools_linux64 "kiwix-install kiwix-manage kiwix-read kiwix-search kiwix-serve" make_archive zim-tools_linux64 "zimbench zimdump zimsearch zimdiff zimpatch zimsplit"