Skip to content
Browse files

Update .travis.yml, README.markdown

Add env PECLMONGO
Add Travis CI Status
  • Loading branch information...
1 parent 65c6976 commit 069c48b267bcac52d121400315ced04fbeb63728 @k1LoW k1LoW committed
Showing with 11 additions and 6 deletions.
  1. +9 −6 .travis.yml
  2. +2 −0 README.markdown
View
15 .travis.yml
@@ -7,15 +7,18 @@ services:
- mongodb
env:
- - CAKEPHP=2.2.5
- - CAKEPHP=2.2.7
- - CAKEPHP=2.3.0
+ - CAKEPHP=2.2.5 PECLMONGO=mongo-1.2.9
+ - CAKEPHP=2.2.7 PECLMONGO=mongo-1.2.9
+ - CAKEPHP=2.3.0 PECLMONGO=mongo-1.2.9
+ - CAKEPHP=2.2.5 PECLMONGO=mongo-1.3.4
+ - CAKEPHP=2.2.7 PECLMONGO=mongo-1.3.4
+ - CAKEPHP=2.3.0 PECLMONGO=mongo-1.3.4
before_script:
- mongo mongo_test --eval 'db.addUser("travis", "test");'
- - wget http://pecl.php.net/get/mongo-1.2.9.tgz
- - tar xfz mongo-1.2.9.tgz
- - sh -c "cd mongo-1.2.9 && phpize && ./configure && make && sudo make install"
+ - sh -c "wget http://pecl.php.net/get/$PECLMONGO.tgz"
+ - sh -c "tar xfz $PECLMONGO.tgz"
+ - sh -c "cd $PECLMONGO && phpize && ./configure && make && sudo make install"
- echo "extension=mongo.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
- wget https://github.com/cakephp/cakephp/tarball/$CAKEPHP -O cake.tar.gz
- tar xf cake.tar.gz
View
2 README.markdown
@@ -1,5 +1,7 @@
# mongoDB datasource for CakePHP
+[![Build Status](https://travis-ci.org/ichikaway/cakephp-mongodb.png?branch=cake2.2)](https://travis-ci.org/ichikaway/cakephp-mongodb)
+
## Requirements
PHP5,
pecl mongo (http://php.net/mongo)

0 comments on commit 069c48b

Please sign in to comment.
Something went wrong with that request. Please try again.