Skip to content

Commit

Permalink
Merge pull request #6 from josgilmo/#4
Browse files Browse the repository at this point in the history
  • Loading branch information
josgilmo authored Sep 5, 2016
2 parents 0d23c4f + 0ef2fec commit 7c6db07
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 1 deletion.
20 changes: 20 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@

language: php
php:
- '7.0'

before_script:
# - sudo apt-get update && sudo apt-get install -my software-properties-common && sudo add-apt-repository -y ppa:ondrej/php
- sudo apt-get update
# - sudo apt-get install php-mongodb
- echo "extension = mongodb.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
- composer update
# - make deps

after_script:
- php vendor/bin/coveralls -v

notifications:
email:
- [email protected]

5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@

deps:
wget -q https://getcomposer.org/composer.phar -O ./composer.phar
chmod +x composer.phar
php composer.phar install
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
# Mapmon
### Yet another MongoDB ODM for PHP

[![Build Status](https://travis-ci.org/josgilmo/mapmon.png?branch=master)](https://travis-ci.org/josgilmo/mapmon)
[![Coverage Status](https://coveralls.io/repos/github/josgilmo/mapmon/badge.svg?branch=master)](https://coveralls.io/github/josgilmo/mapmon?branch=master)


- [What's that?](#whatsthat)

- [Issues](#issues)
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"mongodb/mongodb": "^1.0"
},
"require-dev": {
"phpunit/phpunit": "5.5.*"
"phpunit/phpunit": "5.5.*",
"satooshi/php-coveralls": "dev-master"
},
"autoload": {
"psr-4": { "Mapmon\\": "src" }
Expand Down

0 comments on commit 7c6db07

Please sign in to comment.