From 29fc8c6046f3ac1b3aad76c8a0bd48338e7eb000 Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Thu, 4 Jan 2018 13:58:38 -0600 Subject: [PATCH] Make sure the env.php file and other dev files are being removed --- .travis/deploy_script.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.travis/deploy_script.sh b/.travis/deploy_script.sh index b75d7c66..12156cf7 100755 --- a/.travis/deploy_script.sh +++ b/.travis/deploy_script.sh @@ -18,10 +18,16 @@ if [ "$TRAVIS" = "true" ]; then echo "cleaning files" cd $TRAVIS_BUILD_DIR + make clean + + rm -rf env.php find ./vendor -type d -name ".git" | xargs rm -rf + + # Remove any development files + rm -rf .sass-cache rm -rf .idea phpvms.iml .travis .dpl - rm -rf .phpstorm.meta.php _ide_helper.php + rm -rf .phpstorm.meta.php _ide_helper.php phpunit.xml Procfile # remove large sized files rm -rf .git