language: php 
php: 
 - 5.3

env:
 - DB=MYSQL CORE_RELEASE=3.0
 - DB=MYSQL CORE_RELEASE=3.1
 - DB=PGSQL CORE_RELEASE=3.0
 - DB=PGSQL CORE_RELEASE=3.1
 - DB=SQLITE3 CORE_RELEASE=3.0
 - DB=SQLITE3 CORE_RELEASE=3.1

before_script:
 - 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 sortablegridfield/tests/
language: php 
php: 
 - 5.3

env:
 - DB=MYSQL CORE_RELEASE=3.0
 - DB=MYSQL CORE_RELEASE=3.1
 - DB=PGSQL CORE_RELEASE=3.0
 - DB=PGSQL CORE_RELEASE=3.1
 - DB=SQLITE3 CORE_RELEASE=3.0
 - DB=SQLITE3 CORE_RELEASE=3.1

matrix:
    allow_failures:
     - env: DB=PGSQL CORE_RELEASE=3.1
     - env: DB=SQLITE3 CORE_RELEASE=3.1

before_script:
 - 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 sortablegridfield/tests/
Allow PGSQL and SQLLITE to fail on 3.1
Allow PGSQL and SQLLITE to fail on 3.1
