Advertisement
Guest User

Untitled

a guest
Sep 19th, 2019
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. #!/bin/bash
  2. set -euxo pipefail
  3.  
  4. echo "Running tests for Laravel v${LARAVEL_VERSION}"
  5.  
  6. if [ -f composer.lock ] ; then
  7. rm composer.lock
  8. fi
  9. cp composer.json composer-original.json
  10.  
  11. composer require --no-update "illuminate/contracts:${LARAVEL_VERSION}.*"
  12.  
  13. composer update --prefer-source --no-interaction
  14.  
  15. rm composer.json
  16. rm composer.lock
  17. mv composer-original.json composer.json
  18.  
  19. ./vendor/bin/phpunit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement