Last active
July 22, 2019 11:05
-
-
Save nahuelhds/4a680b31ab669ec96f579fbbc65b2ca5 to your computer and use it in GitHub Desktop.
Laravel 5.8 configuration for Travis CI
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
APP_NAME=Laravel | |
APP_ENV=testing | |
APP_KEY= | |
APP_DEBUG=true | |
APP_URL=http://localhost/ | |
DB_CONNECTION=mysql | |
DB_HOST=localhost | |
DB_PORT=3306 | |
DB_DATABASE=testing | |
DB_USERNAME=travis | |
DB_PASSWORD= | |
BCRYPT_ROUNDS=4 | |
CACHE_DRIVER=array | |
MAIL_DRIVER=array | |
QUEUE_CONNECTION=sync | |
SESSION_DRIVER=array |
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
dist: precise | |
language: php | |
php: | |
- 7.2 | |
addons: | |
mariadb: 10.4 | |
cache: | |
directories: | |
- node_modules | |
- vendor | |
before_script: | |
- cp .env.travis .env | |
- sudo mysql -e 'CREATE DATABASE testing;' | |
- composer self-update | |
- composer install --no-interaction | |
- php artisan key:generate | |
- php artisan migrate --no-interaction -vvv | |
script: | |
- vendor/bin/phpunit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment