Change order of cleanup
This commit is contained in:
parent
99142f9fec
commit
c9b58a4d9d
@ -4,10 +4,6 @@ if [ "$TRAVIS" = "true" ]; then
|
|||||||
|
|
||||||
cd $TRAVIS_BUILD_DIR
|
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
|
if test "$TRAVIS_TAG"; then
|
||||||
PKG_NAME=$TRAVIS_TAG
|
PKG_NAME=$TRAVIS_TAG
|
||||||
else
|
else
|
||||||
@ -34,6 +30,10 @@ if [ "$TRAVIS" = "true" ]; then
|
|||||||
|
|
||||||
make clean
|
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
|
rm -rf env.php config.php
|
||||||
find ./vendor -type d -name ".git" -print0 | xargs rm -rf
|
find ./vendor -type d -name ".git" -print0 | xargs rm -rf
|
||||||
find . -type d -name "sass-cache" -print0 | xargs rm -rf
|
find . -type d -name "sass-cache" -print0 | xargs rm -rf
|
||||||
|
Loading…
Reference in New Issue
Block a user