Set up Travis CI
ADD
.env.travis
+APP_NAME=Budget
+APP_ENV=local
+APP_KEY=
+APP_DEBUG=true
+APP_LOG_LEVEL=debug
+APP_URL=http://localhost
+
+DB_CONNECTION=mysql
+DB_HOST=127.0.0.1
+DB_PORT=3306
+DB_DATABASE=budget
+DB_USERNAME=root
+DB_PASSWORD=
+
+BROADCAST_DRIVER=log
+CACHE_DRIVER=file
+SESSION_DRIVER=file
+QUEUE_DRIVER=database
+
+REDIS_HOST=127.0.0.1
+REDIS_PASSWORD=null
+REDIS_PORT=6379
+
+MAIL_DRIVER=smtp
+MAIL_HOST=smtp.mailtrap.io
+MAIL_PORT=2525
+MAIL_USERNAME=null
+MAIL_PASSWORD=null
+MAIL_ENCRYPTION=null
+
+PUSHER_APP_ID=
+PUSHER_APP_KEY=
+PUSHER_APP_SECRET=

ADD
.travis.yml
+language: php
+
+php:
+ - 7.2
+
+before_script:
+ - mysql -e 'create database budget_testing;'
+ - cp .env.travis .env
+ - composer install --no-interaction
+ - php artisan key:generate
+ - php artisan migrate --database=testing
+
+script:
+ - vendor/bin/phpunit

Set up Travis CI