language: php

sudo: false

matrix:
  include:
    - php: 5.6
      env: DB=MYSQL CORE_RELEASE=3.5
    - php: 7
      env: DB=MYSQL CORE_RELEASE=3.6
    - php: 7
      env: DB=MYSQL CORE_RELEASE=3

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:
  - vendor/bin/phpunit oauth/tests/

language: php

sudo: false

matrix:
  include:
    - php: 5.6
      env: DB=MYSQL CORE_RELEASE=3.5
    - php: 7.0
      env: DB=MYSQL CORE_RELEASE=3.6
    - php: 7.1
      env: DB=MYSQL CORE_RELEASE=3

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:
  - vendor/bin/phpunit oauth/tests/

Switch to using pre-built PHP versions
Switch to using pre-built PHP versions