Created
May 29, 2019 08:48
-
-
Save jocoonopa/381aaa427be5063673bd2ea7f165a1a8 to your computer and use it in GitHub Desktop.
travis.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
language: php | |
php: | |
- 7.2.11 | |
addons: | |
mariadb: '10.0' | |
before_script: | |
- cp .env.travis .env.testing | |
- cp .env.travis .env | |
- mysql -u root -e 'create database homestead_test;' | |
- composer self-update | |
- composer install --no-interaction | |
- composer dump-autoload | |
- php artisan migrate --env=testing --no-interaction | |
- sudo chgrp -R www-data storage bootstrap/cache | |
- sudo chmod -R ug+rwx storage bootstrap/cache | |
script: | |
- vendor/bin/phpunit --coverage-text | |
- php artisan fixer:fix --dry-run -v --using-cache=false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment