Try to get travis working again.

This commit is contained in:
James Cole 2016-01-09 08:36:50 +01:00
parent 2980860377
commit cb5fa401cb
2 changed files with 38 additions and 2 deletions

36
.env.testing Executable file
View File

@ -0,0 +1,36 @@
APP_ENV=testing
APP_DEBUG=true
APP_KEY=SomeRandomStringOf32CharsExactly
DB_CONNECTION=sqlite
DB_HOST=localhost
DB_DATABASE=homestead
DB_USERNAME=homestead
DB_PASSWORD=secret
CACHE_DRIVER=array
SESSION_DRIVER=array
QUEUE_DRIVER=array
DEFAULT_CURRENCY=EUR
DEFAULT_LANGUAGE=en_US
REDIS_HOST=localhost
REDIS_PASSWORD=null
REDIS_PORT=6379
MAIL_DRIVER=log
MAIL_HOST=mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
SHOW_INCOMPLETE_TRANSLATIONS=false
ANALYTICS_ID=abcde
RUNCLEANUP=false
SITE_OWNER=mail@example.com
BLOCKED_DOMAINS=

View File

@ -6,10 +6,10 @@ php:
- 5.6
install:
- composer update
- composer install
- php artisan env
- mv -v .env.testing .env
- touch storage/database/testing.db
- touch storage/database.sqlite
- php artisan migrate --env=testing
- php artisan migrate --seed --env=testing