Permalink
Browse files

Testing new build script.

  • Loading branch information...
1 parent 4b610a0 commit 29cc14e7065c50fc1911bd415fe1218840ac7615 @nateabele nateabele committed Feb 12, 2012
Showing with 13 additions and 0 deletions.
  1. +3 −0 .travis.yml
  2. +10 −0 tests/ci_depends.sh
View
@@ -4,6 +4,9 @@ php:
- 5.3
- 5.4
+before_script:
+ - ./tests/ci_depends.sh
+
script: console/li3 test tests/cases
notifications:
View
@@ -0,0 +1,10 @@
+# Install APC and Mongo extensions
+
+sudo pecl install apc
+sudo pecl install mongo
+
+echo "extension=apc.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
+echo "extension=mongo.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
+
+# Ensure read-only mode for Phar files is disabled
+sed -E -i '' -e's/phar\.readonly = On/phar.readonly = Off/g' `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`

0 comments on commit 29cc14e

Please sign in to comment.