silverstripe-testsession/.travis.yml
Sam Minnee 9b85c80178 FIX: Use composer-aware phpunit to run tests.
SilverStripe now requires the phpunit autoloader to work, which means
that a non-composer-installed copy of phpunit won’t work.
2016-09-12 11:43:12 +12:00

29 lines
591 B
YAML

# See https://github.com/silverstripe-labs/silverstripe-travis-support for setup details
language: php
sudo: false
php:
- 5.5
env:
matrix:
- DB=MYSQL CORE_RELEASE=master
matrix:
include:
- php: 5.6
env: DB=PGSQL CORE_RELEASE=master
- php: 5.6
env: DB=MYSQL CORE_RELEASE=master
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 testsession/tests/unit/