mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-29 13:14:45 +02:00
Enable opcache on travis to speed up build time
This commit is contained in:
parent
44eedd594f
commit
34db4102b9
@ -13,9 +13,10 @@ services:
|
|||||||
before_install:
|
before_install:
|
||||||
- mysql -e 'CREATE DATABASE IF NOT EXISTS travis;'
|
- mysql -e 'CREATE DATABASE IF NOT EXISTS travis;'
|
||||||
before_script:
|
before_script:
|
||||||
|
- echo 'opcache.enable_cli=1' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
|
||||||
- cp .env.travis .env
|
- cp .env.travis .env
|
||||||
- composer install --no-interaction --prefer-dist --no-suggest --verbose
|
- composer install --no-interaction --prefer-dist --no-suggest
|
||||||
- php artisan migrate --seed -v
|
- php artisan migrate --seed
|
||||||
script:
|
script:
|
||||||
- vendor/bin/phpunit --coverage-clover coverage.xml
|
- vendor/bin/phpunit --coverage-clover coverage.xml
|
||||||
notifications:
|
notifications:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user