forked from javiereguiluz/easy-admin-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
34 lines (26 loc) · 802 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
language: php
php:
- 5.5
- 7.0
sudo: false
cache:
directories:
- $HOME/.composer/cache
env:
global:
- SYMFONY_DEPRECATIONS_HELPER=strict
matrix:
fast_finish: true
before_install:
- if [[ ! $TRAVIS_PHP_VERSION = hhvm* ]]; then INI_FILE=~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini; else INI_FILE=/etc/hhvm/php.ini; fi
- echo memory_limit = -1 >> $INI_FILE
- echo session.gc_probability = 0
- echo opcache.enable_cli = 1 >> $INI_FILE
- composer selfupdate
install:
- composer update --prefer-dist --no-interaction
script:
- ./bin/console doctrine:database:create --env=test
- ./bin/console doctrine:schema:create --env=test
- ./bin/console doctrine:fixtures:load --env=test --no-interaction
- phpunit