Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added travis build file

  • Loading branch information...
commit bd89ec8c9b4f834cebb216b3f2299aba3b6bd679 1 parent a512973
@hason hason authored
Showing with 14 additions and 0 deletions.
  1. +14 −0 .travis.yml
View
14 .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
Please sign in to comment.
Something went wrong with that request. Please try again.