Permalink
Browse files

Added travis build file

  • Loading branch information...
1 parent a512973 commit bd89ec8c9b4f834cebb216b3f2299aba3b6bd679 @hason hason committed Feb 14, 2012
Showing with 14 additions and 0 deletions.
  1. +14 −0 .travis.yml
View
@@ -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

0 comments on commit bd89ec8

Please sign in to comment.