32 lines
628 B
YAML
32 lines
628 B
YAML
language: php
|
|
|
|
php:
|
|
- 5.2
|
|
- 5.3
|
|
- 5.4
|
|
- 5.5
|
|
- 5.6
|
|
- hhvm
|
|
- nightly
|
|
- hhvm-nightly
|
|
|
|
allow_failures:
|
|
- php: nightly
|
|
- php: hhvm-nightly
|
|
|
|
env:
|
|
- TWIG_EXT=no
|
|
- TWIG_EXT=yes
|
|
|
|
before_script:
|
|
- if [ "$TWIG_EXT" == "yes" ]; then sh -c "cd ext/twig && phpize && ./configure --enable-twig && make && sudo make install"; fi
|
|
- if [ "$TWIG_EXT" == "yes" ]; then echo "extension=twig.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`; fi
|
|
|
|
matrix:
|
|
exclude:
|
|
- php: hhvm
|
|
env: TWIG_EXT=yes
|
|
- php: hhvm-nightly
|
|
env: TWIG_EXT=yes
|
|
- php: nightly
|
|
env: TWIG_EXT=yes
|