Update deploy scripts to remove some extra packages
This commit is contained in:
parent
0cd7b3b71f
commit
f671d3f624
@ -28,11 +28,15 @@ if [ "$TRAVIS" = "true" ]; then
|
||||
|
||||
echo "Cleaning files"
|
||||
|
||||
make clean
|
||||
|
||||
# Clean up the dependencies to only remove the dev packages
|
||||
#rm -rf vendor
|
||||
#composer install --no-interaction --no-dev
|
||||
# Clean up the dependencies to remove some of the dev packages
|
||||
composer remove \
|
||||
--optimize-autoloader \
|
||||
--no-interaction \
|
||||
--update-with-dependencies \
|
||||
phpstan/phpstan \
|
||||
weebly/phpstan-laravel \
|
||||
bpocallaghan/generators \
|
||||
barryvdh/laravel-ide-helper
|
||||
|
||||
rm -rf env.php config.php
|
||||
find ./vendor -type d -name ".git" -print0 | xargs rm -rf
|
||||
@ -56,6 +60,8 @@ if [ "$TRAVIS" = "true" ]; then
|
||||
# delete files in vendor that are rather large
|
||||
rm -rf vendor/willdurand/geocoder/tests
|
||||
|
||||
make clean
|
||||
|
||||
echo "creating tarball"
|
||||
cd /tmp
|
||||
tar -czf $TAR_NAME -C $TRAVIS_BUILD_DIR/../ phpvms
|
||||
|
@ -39,7 +39,6 @@
|
||||
"igaster/laravel-theme": "^2.0",
|
||||
"anhskohbo/no-captcha": "^3.0",
|
||||
"league/csv": "^9.1",
|
||||
"codedungeon/phpunit-result-printer": "^0.13.0",
|
||||
"intervention/image": "^2.4"
|
||||
},
|
||||
"require-dev": {
|
||||
@ -51,7 +50,8 @@
|
||||
"bpocallaghan/generators": "5.0.1",
|
||||
"nunomaduro/collision": "^2.0",
|
||||
"phpstan/phpstan": "^0.9.2",
|
||||
"weebly/phpstan-laravel": "^1.1"
|
||||
"weebly/phpstan-laravel": "^1.1",
|
||||
"codedungeon/phpunit-result-printer": "^0.13.0"
|
||||
},
|
||||
"autoload": {
|
||||
"classmap": [
|
||||
@ -80,12 +80,6 @@
|
||||
}
|
||||
},
|
||||
"scripts": {
|
||||
"post-root-package-install": [
|
||||
"php -r \"file_exists('env.php') || copy('env.php.example', 'env.php');\""
|
||||
],
|
||||
"post-create-project-cmd": [
|
||||
"php artisan key:generate"
|
||||
],
|
||||
"post-install-cmd": [
|
||||
"Illuminate\\Foundation\\ComposerScripts::postInstall"
|
||||
],
|
||||
|
639
composer.lock
generated
639
composer.lock
generated
File diff suppressed because it is too large
Load Diff
@ -1,3 +0,0 @@
|
||||
<?php exit(); >
|
||||
|
||||
APP_KEY=base64:zdgcDqu9PM8uGWCtMxd74ZqdGJIrnw812oRMmwDF6KY=
|
Loading…
Reference in New Issue
Block a user