From de0134ec5f9938beb816cf94423e00a63d06f91d Mon Sep 17 00:00:00 2001 From: denisdulici Date: Mon, 1 Oct 2018 15:22:15 +0300 Subject: [PATCH] more travis --- .travis.yml | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 515d3beee..6f64051c8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,13 +6,20 @@ php: - '7.1' - '7.2' -before_script: - - cp .env.travis .env - - mysql -e 'CREATE DATABASE akaunting;' - - composer install --no-interaction - - php artisan migrate --force - - php artisan db:seed --class=Database\Seeds\TestCompany - - php artisan company:seed company 1 +env: + - DB=sqlite + +sqlite: + adapter: sqlite3 + database: ":memory:" + timeout: 500 + +before_install: + # turn off XDebug + - phpenv config-rm xdebug.ini || return + +install: + - composer install script: - vendor/bin/phpunit \ No newline at end of file