vlucas / Spot

[DEPRECATED - use v2] Simple DataMapper ORM for PHP 5.3+
75 stars 14 forks source link

Adding support for travis-ci.org continuous integration #40

Closed elicwhite closed 11 years ago

elicwhite commented 11 years ago

Travis-CI.org is a continuous integration site that connects with GitHub and will automatically run your tests on specified configurations every time you push to github. Before this, the mongo connection was never being tested, now mysql and mongo are each tested separately on php version 5.3, 5.3.3, and 5.4.

You can see what this looks like here: https://travis-ci.org/TheSavior/Spot

Travis-CI will also run these tests on pull requests once it is set up on the base repo.

Setting min version to 5.3 because we require namespaces. Splitting Mongo Settings out into seperate run. Adding failure if run with a db that hasn't been configured