more travis

This commit is contained in:
denisdulici 2018-10-01 16:50:40 +03:00
parent de0134ec5f
commit fd95d29d41
2 changed files with 4 additions and 31 deletions

View File

@ -1,28 +0,0 @@
APP_NAME=Akaunting
APP_ENV=testing
APP_LOCALE=en-GB
APP_INSTALLED=true
APP_KEY=base64:xBC+BxlC7sXhYAtpTZv8TYAHqoPgsJaXL0S5Id6BbBc=
APP_DEBUG=true
APP_LOG_LEVEL=debug
APP_URL=http://akaunting.test
DB_CONNECTION=mysql
DB_HOST=localhost
DB_PORT=3306
DB_DATABASE=akaunting
DB_USERNAME=root
DB_PASSWORD=
DB_PREFIX=ak_
BROADCAST_DRIVER=log
CACHE_DRIVER=file
SESSION_DRIVER=file
QUEUE_DRIVER=database
MAIL_DRIVER=mail
MAIL_HOST=localhost
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null

View File

@ -11,15 +11,16 @@ env:
sqlite:
adapter: sqlite3
database: ":memory:"
database: ':memory:'
timeout: 500
before_install:
# turn off XDebug
- phpenv config-rm xdebug.ini || return
install:
- composer install
before_script:
- cp .env.testing .env
- composer install --no-interaction
script:
- vendor/bin/phpunit