more travis
This commit is contained in:
parent
2bd8072403
commit
de0134ec5f
21
.travis.yml
21
.travis.yml
@ -6,13 +6,20 @@ php:
|
|||||||
- '7.1'
|
- '7.1'
|
||||||
- '7.2'
|
- '7.2'
|
||||||
|
|
||||||
before_script:
|
env:
|
||||||
- cp .env.travis .env
|
- DB=sqlite
|
||||||
- mysql -e 'CREATE DATABASE akaunting;'
|
|
||||||
- composer install --no-interaction
|
sqlite:
|
||||||
- php artisan migrate --force
|
adapter: sqlite3
|
||||||
- php artisan db:seed --class=Database\Seeds\TestCompany
|
database: ":memory:"
|
||||||
- php artisan company:seed company 1
|
timeout: 500
|
||||||
|
|
||||||
|
before_install:
|
||||||
|
# turn off XDebug
|
||||||
|
- phpenv config-rm xdebug.ini || return
|
||||||
|
|
||||||
|
install:
|
||||||
|
- composer install
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- vendor/bin/phpunit
|
- vendor/bin/phpunit
|
Loading…
x
Reference in New Issue
Block a user