Added travis support

This commit is contained in:
Ingo Schommer 2014-02-18 17:52:03 +13:00
parent 863ead3255
commit 4ca243fc68
2 changed files with 22 additions and 0 deletions

20
.travis.yml Normal file
View File

@ -0,0 +1,20 @@
language: php
php:
- 5.3
env:
matrix:
- DB=POSTGRESQL CORE_RELEASE=3.0
- DB=POSTGRESQL CORE_RELEASE=3.1
- DB=POSTGRESQL CORE_RELEASE=master
before_script:
- composer self-update
- phpenv rehash
- git clone git://github.com/silverstripe-labs/silverstripe-travis-support.git ~/travis-support
- php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss
- cd ~/builds/ss
script:
- phpunit framework/tests

View File

@ -1,5 +1,7 @@
# PostgreSQL Module Module # PostgreSQL Module Module
[![Build Status](https://travis-ci.org/silverstripe/silverstripe-postgresql.png?branch=master)](https://travis-ci.org/silverstripe/silverstripe-postgresql)
## Maintainer Contact ## Maintainer Contact
* Sam Minnee (Nickname: sminnee) <sam@silverstripe.com> * Sam Minnee (Nickname: sminnee) <sam@silverstripe.com>