From c9b58a4d9daba249bda27054aac3f8c032713e1e Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Mon, 26 Mar 2018 14:48:01 -0500 Subject: [PATCH] Change order of cleanup --- .travis/deploy_script.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis/deploy_script.sh b/.travis/deploy_script.sh index 6bf6b6cc..2c0ef935 100755 --- a/.travis/deploy_script.sh +++ b/.travis/deploy_script.sh @@ -4,10 +4,6 @@ if [ "$TRAVIS" = "true" ]; then cd $TRAVIS_BUILD_DIR - # Clean up the dependencies to only remove the dev packages - rm -rf vendor - composer install --no-interaction --no-dev - if test "$TRAVIS_TAG"; then PKG_NAME=$TRAVIS_TAG else @@ -34,6 +30,10 @@ if [ "$TRAVIS" = "true" ]; then make clean + # Clean up the dependencies to only remove the dev packages + rm -rf vendor + composer install --no-interaction --no-dev + rm -rf env.php config.php find ./vendor -type d -name ".git" -print0 | xargs rm -rf find . -type d -name "sass-cache" -print0 | xargs rm -rf