diff --git a/.travis.yml b/.travis.yml index 4e063e1..2c73167 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,21 +1,27 @@ # See https://github.com/silverstripe-labs/silverstripe-travis-support for setup details -language: php -php: - - 5.3 +sudo: false + +language: php + +php: + - 5.3 + - 5.4 + - 5.5 + - 5.6 env: - - DB=MYSQL CORE_RELEASE=3.0 + - DB=MYSQL CORE_RELEASE=3.0 matrix: - include: - - php: 5.4 - env: DB=MYSQL CORE_RELEASE=3.0 + fast_finish: true before_script: - - 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 + - composer self-update || true + - 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 + - composer install -script: - - phpunit dms/tests/ +script: + - vendor/bin/phpunit dms/tests