fix env file for travis

This commit is contained in:
Nabeel Shahzad 2017-12-17 11:43:51 -06:00
parent abd2d8e8e2
commit 3e1336d9c3
2 changed files with 32 additions and 1 deletions

View File

@ -10,7 +10,8 @@ addons:
before_install:
- mysql -e 'CREATE DATABASE IF NOT EXISTS phpvms;'
before_script:
- cp .travis/env.travis .env
#- cp .travis/env.travis .env
- cp .travis/env.travis.php env.php
- composer install --no-interaction
script:
- php artisan database:create --reset

30
.travis/env.travis.php Normal file
View File

@ -0,0 +1,30 @@
<?php
exit();
?>
APP_ENV=dev
APP_KEY=base64:zdgcDqu9PM8uGWCtMxd74ZqdGJIrnw812oRMmwDF6KY=
APP_URL=http://localhost
APP_SKIN=default
APP_DEBUG=true
APP_LOCALE=en
PHPVMS_INSTALLED=true
VACENTRAL_API_KEY=
APP_LOG=daily
APP_LOG_LEVEL=debug
APP_LOG_MAX_FILES=3
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=phpvms
DB_USERNAME=root
DB_PASSWORD=
CACHE_DRIVER=file
CACHE_PREFIX=
SESSION_DRIVER=file
QUEUE_DRIVER=database