Skip to content

Commit

Permalink
Update .travis.yml, README.markdown
Browse files Browse the repository at this point in the history
Add env PECLMONGO
Add Travis CI Status
  • Loading branch information
k1LoW committed Feb 28, 2013
1 parent 65c6976 commit 069c48b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .travis.yml
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions 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)
Expand Down

0 comments on commit 069c48b

Please sign in to comment.