Enable opcache on travis to speed up build time
This commit is contained in:
parent
44eedd594f
commit
34db4102b9
1 changed files with 3 additions and 2 deletions
|
@ -13,9 +13,10 @@ services:
|
|||
before_install:
|
||||
- mysql -e 'CREATE DATABASE IF NOT EXISTS travis;'
|
||||
before_script:
|
||||
- echo 'opcache.enable_cli=1' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
|
||||
- cp .env.travis .env
|
||||
- composer install --no-interaction --prefer-dist --no-suggest --verbose
|
||||
- php artisan migrate --seed -v
|
||||
- composer install --no-interaction --prefer-dist --no-suggest
|
||||
- php artisan migrate --seed
|
||||
script:
|
||||
- vendor/bin/phpunit --coverage-clover coverage.xml
|
||||
notifications:
|
||||
|
|
Loading…
Reference in a new issue