Skip to content

Commit

Permalink
Merge branch 'master' into Upgrading-To-6.0-From-5.8
Browse files Browse the repository at this point in the history
  • Loading branch information
realodix committed Sep 4, 2019
2 parents 67d4dec + 0363ae1 commit 103a921
Show file tree
Hide file tree
Showing 14 changed files with 511 additions and 242 deletions.
6 changes: 0 additions & 6 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,6 @@ DB_DATABASE=urlhub
DB_USERNAME=root
DB_PASSWORD=

DB_TEST_HOST=127.0.0.1
DB_TEST_PORT=3306
DB_TEST_DATABASE=urlhub_test
DB_TEST_USERNAME=root
DB_TEST_PASSWORD=

BROADCAST_DRIVER=log
CACHE_DRIVER=file
SESSION_DRIVER=file
Expand Down
44 changes: 44 additions & 0 deletions .env.testing
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
APP_NAME=URLHub
APP_ENV=local
APP_KEY=
APP_DEBUG=true
APP_URL=http://localhost

LOG_CHANNEL=stack

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=urlhub_test
DB_USERNAME=root
DB_PASSWORD=

BROADCAST_DRIVER=log
CACHE_DRIVER=file
SESSION_DRIVER=file
SESSION_LIFETIME=120
QUEUE_DRIVER=sync

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

AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_DEFAULT_REGION=us-east-1
AWS_BUCKET=

PUSHER_APP_ID=
PUSHER_APP_KEY=
PUSHER_APP_SECRET=
PUSHER_APP_CLUSTER=mt1

MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ install:

before_script:
- mysql -e 'create database urlhub_test;'
- cp .env.example .env
- php artisan key:generate
- php artisan key:generate --env=testing

script:
- mkdir -p build/logs
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
"mockery/mockery": "^1.0",
"nunomaduro/collision": "^3.0",
"php-coveralls/php-coveralls": "^2.1",
"phpunit/phpunit": "^8"
"phpunit/phpunit": "^8",
"wnx/laravel-stats": "^2.0"
},
"config": {
"optimize-autoloader": true,
Expand Down
Loading

0 comments on commit 103a921

Please sign in to comment.