Update gitlab-test.sh

This commit is contained in:
Denis S. Soldatov aka General-Beck 2018-01-24 23:09:39 +01:00
parent b814f1ccbf
commit f3bcada7b9

View File

@ -50,23 +50,24 @@ js_release () {
rustup default stable rustup default stable
if [[ "${JS_FILES_MODIFIED}" == "0" ]]; if [[ "${JS_FILES_MODIFIED}" == "0" ]];
then echo "Skipping JS deps install since no JS files modified."; then echo "Skipping JS deps install since no JS files modified.";
else ./js/scripts/install-deps.sh; else echo "install JS deps---------------"&&./js/scripts/install-deps.sh&&echo "done----------------";
fi fi
if [[ "${JS_FILES_MODIFIED}" == "0" ]]; if [[ "${JS_FILES_MODIFIED}" == "0" ]];
then echo "Skipping JS rebuild since no JS files modified."; then echo "Skipping JS rebuild since no JS files modified.";
else ./js/scripts/build.sh && ./js/scripts/push-precompiled.sh; else echo"build JS--------------"&&./js/scripts/build.sh && echo "Puch JS precompiled-----------------"&&./js/scripts/push-precompiled.sh&&echo "done----------------";
fi fi
echo "build JS"
if [[ "${JS_OLD_FILES_MODIFIED}" == "0" ]]; if [[ "${JS_OLD_FILES_MODIFIED}" == "0" ]];
then echo "Skipping JS (old) deps install since no JS files modified."; then echo "Skipping JS (old) deps install since no JS files modified.";
else ./js-old/scripts/install-deps.sh; else echo "install JS_OLD deps---------------"&&./js-old/scripts/install-deps.sh&&echo "done----------------";
fi fi
if [[ "${JS_OLD_FILES_MODIFIED}" == "0" ]]; if [[ "${JS_OLD_FILES_MODIFIED}" == "0" ]];
then echo "Skipping JS (old) rebuild since no JS files modified."; then echo "Skipping JS (old) rebuild since no JS files modified.";
else ./js-old/scripts/build.sh && ./js-old/scripts/push-precompiled.sh; else echo"build JS--------------"&&./js-old/scripts/build.sh && echo "Puch JS precompiled-----------------"&& ./js-old/scripts/push-precompiled.sh&&echo "done----------------";
fi fi
if [[ "${JS_FILES_MODIFIED}" == "0" ]] && [[ "${JS_OLD_FILES_MODIFIED}" == "0" ]]; if [[ "${JS_FILES_MODIFIED}" == "0" ]] && [[ "${JS_OLD_FILES_MODIFIED}" == "0" ]];
then echo "Skipping Cargo update since no JS files modified."; then echo "Skipping Cargo update since no JS files modified."&&echo "done----------------";
else ./js/scripts/push-cargo.sh; else echo "push cargo---------"./js/scripts/push-cargo.sh;
fi fi
} }
coverage_test () { coverage_test () {