language: php
sudo: false
php:
 - 5.3

env:
 - DB=MYSQL CORE_RELEASE=3.1
 - DB=PGSQL CORE_RELEASE=3.1
 - DB=SQLITE CORE_RELEASE=3.1

matrix:
  include:
    - php: 5.6
      env: DB=MYSQL CORE_RELEASE=3.2

before_script:
 - pear -q install --onlyreqdeps pear/PHP_CodeSniffer
 - 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 shop_extendedpricing/tests/

language: php
sudo: false
php:
 - 5.3

env:
 - DB=MYSQL CORE_RELEASE=3.1
 - DB=PGSQL CORE_RELEASE=3.1
 - DB=SQLITE CORE_RELEASE=3.1

matrix:
  include:
    - php: 5.6
      env: DB=MYSQL CORE_RELEASE=3.2
  allow_failures:
    - env: DB=MYSQL CORE_RELEASE=3.2

before_script:
 - pear -q install --onlyreqdeps pear/PHP_CodeSniffer
 - 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 shop_extendedpricing/tests/

Allow SS3.2 to fail for now
Allow SS3.2 to fail for now
