-
-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #33 from poowf/develop
Merge develop into master
- Loading branch information
Showing
76 changed files
with
2,988 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
APP_ENV=testing | ||
APP_KEY=woofpoowflabs | ||
|
||
|
||
DB_CONNECTION=mysql | ||
DB_HOST=localhost | ||
DB_PORT=3306 | ||
DB_DATABASE=invoiceplz_test | ||
DB_USERNAME=root | ||
DB_PASSWORD=poowf | ||
|
||
BROADCAST_DRIVER=log | ||
CACHE_DRIVER=file | ||
SESSION_DRIVER=file | ||
QUEUE_DRIVER=sync |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,7 @@ npm-debug.log | |
yarn-error.log | ||
.env | ||
.env.dusk.local | ||
.env.testing | ||
.phpunit.result.cache | ||
|
||
.DS_Store | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
language: php | ||
sudo: true | ||
php: | ||
- '7.1' | ||
- '7.2' | ||
|
||
before_script: | ||
- cp .env.travis .env | ||
- mysql -u root -ppoowf -e 'create database invoiceplz_test;' | ||
- composer self-update | ||
- composer install --no-interaction | ||
- php artisan key:generate | ||
- php artisan migrate | ||
|
||
script: | ||
- vendor/bin/phpunit | ||
|
||
addons: | ||
apt: | ||
sources: | ||
- mysql-5.7-trusty | ||
packages: | ||
- mysql-server | ||
- mysql-client | ||
|
||
before_install: | ||
- sudo mysql -e "use mysql; update user set authentication_string=PASSWORD('poowf') where User='root'; update user set plugin='mysql_native_password';FLUSH PRIVILEGES;" | ||
- sudo mysql_upgrade -u root -ppoowf | ||
- sudo service mysql restart | ||
|
||
services: | ||
- mysql | ||
|
||
cache: | ||
directories: | ||
- node_modules | ||
- vendor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.