Browse code

Added travis build file

Martin HasoĊˆ authored on 14/02/2012 13:17:30
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,14 @@
1
+language: php
2
+
3
+php:
4
+  - 5.2
5
+  - 5.3
6
+  - 5.4
7
+
8
+env:
9
+  - TWIG_EXT=no
10
+  - TWIG_EXT=yes
11
+
12
+before_script:
13
+  - if [ "$TWIG_EXT" == "yes" ]; then sh -c "cd ext/twig && phpize && ./configure --enable-twig && make && sudo make install"; fi
14
+  - if [ "$TWIG_EXT" == "yes" ]; then echo "extension=twig.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`; fi