From: Martin HasoĊˆ Date: Tue, 14 Feb 2012 13:17:30 +0000 (+0100) Subject: Added travis build file X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=bd89ec8c9b4f834cebb216b3f2299aba3b6bd679;p=web%2Fkonrad%2Ftwig.git Added travis build file --- diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..e6d3b61 --- /dev/null +++ b/.travis.yml @@ -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