Permalink
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (11 sloc) 363 Bytes
language: php
php:
- 5.2
- 5.3
- 5.4
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