Skip to content

Commit

Permalink
Fix executed commands after install
Browse files Browse the repository at this point in the history
  • Loading branch information
francescomalatesta committed Apr 18, 2019
1 parent 5358037 commit 8b56796
Show file tree
Hide file tree
Showing 3 changed files with 2,006 additions and 889 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ cache:
before_script:
- cp .env.travis .env
- travis_retry composer self-update
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-dist
- travis_retry composer install ${COMPOSER_FLAGS} --no-interaction --prefer-dist

script:
- vendor/bin/phpunit
6 changes: 2 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,10 @@
"php artisan jwt:secret -f"
],
"post-install-cmd": [
"Illuminate\\Foundation\\ComposerScripts::postInstall",
"php artisan optimize"
"Illuminate\\Foundation\\ComposerScripts::postInstall"
],
"post-update-cmd": [
"Illuminate\\Foundation\\ComposerScripts::postUpdate",
"php artisan optimize"
"Illuminate\\Foundation\\ComposerScripts::postUpdate"
]
},
"config": {
Expand Down
Loading

0 comments on commit 8b56796

Please sign in to comment.