Skip to content

Commit

Permalink
minor laravel fixes, CI fixes and npmignore fix
Browse files Browse the repository at this point in the history
  • Loading branch information
carduz committed Oct 26, 2015
1 parent 6099acb commit 674399b
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 4 deletions.
19 changes: 19 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
APP_ENV=local
APP_DEBUG=true
APP_KEY=SomeRandomString

DB_HOST=localhost
DB_DATABASE=homestead
DB_USERNAME=homestead
DB_PASSWORD=secret

CACHE_DRIVER=file
SESSION_DRIVER=file
QUEUE_DRIVER=sync

MAIL_DRIVER=smtp
MAIL_HOST=mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
* text=auto
*.css linguist-vendored
*.less linguist-vendored
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*
2 changes: 1 addition & 1 deletion .scrutinizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ build:
- mysql -uroot -e "create database IF NOT EXISTS meetme;"
- mysql -uroot -e "CREATE USER 'meetme'@'localhost' IDENTIFIED BY 'Lj5Fvj8K';"
- mysql -uroot -e "GRANT ALL ON meetme.* TO 'meetme'@'localhost';"
- php artisan migrate <commands/migrate
- php artisan migrate --force
tests:
override:
-
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ before_script:
- if [[ "$DB" == "mysql" ]]; then mysql -e "create database IF NOT EXISTS meetme;" -uroot; fi
- if [[ "$DB" == "mysql" ]]; then mysql -e "CREATE USER 'meetme'@'localhost' IDENTIFIED BY 'Lj5Fvj8K';" -uroot; fi
- if [[ "$DB" == "mysql" ]]; then mysql -e "GRANT ALL ON meetme.* TO 'meetme'@'localhost';" -uroot; fi
- php artisan migrate <commands/migrate
- php artisan migrate --force

# Commands you want to run that will verify your build.
script: phpunit
Expand Down
2 changes: 0 additions & 2 deletions commands/migrate

This file was deleted.

0 comments on commit 674399b

Please sign in to comment.