Added travis build file

This commit is contained in:
Martin Hasoň
2012-02-14 14:17:30 +01:00
parent a512973f83
commit bd89ec8c9b
+14
View File
@@ -0,0 +1,14 @@
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