projects
/
web/konrad/twig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
a512973
)
Added travis build file
author
Martin Hasoň
<martin.hason@gmail.com>
Tue, 14 Feb 2012 13:17:30 +0000 (14:17 +0100)
committer
Martin Hasoň
<martin.hason@gmail.com>
Mon, 23 Apr 2012 21:30:30 +0000 (23:30 +0200)
.travis.yml
[new file with mode: 0644]
patch
|
blob
diff --git a/.travis.yml
b/.travis.yml
new file mode 100644
(file)
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