You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by ih...@apache.org on 2013/12/18 08:35:50 UTC

git commit: Fixed travis config for mongodb to work

Updated Branches:
  refs/heads/travis-ci b791c8881 -> eafef726d


Fixed travis config for mongodb to work

Signed-off-by: Ivan Habunek <ih...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/logging-log4php/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4php/commit/eafef726
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4php/tree/eafef726
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4php/diff/eafef726

Branch: refs/heads/travis-ci
Commit: eafef726d32f04d130c545702507cf01180f9a33
Parents: b791c88
Author: Ivan Habunek <ih...@apache.org>
Authored: Wed Dec 18 08:35:44 2013 +0100
Committer: Ivan Habunek <ih...@apache.org>
Committed: Wed Dec 18 08:35:44 2013 +0100

----------------------------------------------------------------------
 .travis.yml                    | 10 +++++++++-
 src/test/config/php.travis.ini |  1 +
 2 files changed, 10 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/eafef726/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index 6579b8b..71d8fa0 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,11 +1,19 @@
 language: php
 
 php:
+    - 5.2
     - 5.3
     - 5.4
     - 5.5
 
-services: mongodb
+before_script:
+    - phpenv config-add src/test/config/php.travis.ini
+
+script:
+    - phpunit --verbose
+
+services:
+    - mongodb
 
 notifications:
     email: log4php-dev@logging.apache.org

http://git-wip-us.apache.org/repos/asf/logging-log4php/blob/eafef726/src/test/config/php.travis.ini
----------------------------------------------------------------------
diff --git a/src/test/config/php.travis.ini b/src/test/config/php.travis.ini
new file mode 100644
index 0000000..30298f6
--- /dev/null
+++ b/src/test/config/php.travis.ini
@@ -0,0 +1 @@
+extension = "mongo.so"