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