mirror of
https://github.com/silverstripe/silverstripe-testsession
synced 2024-10-22 14:06:00 +02:00
9b85c80178
SilverStripe now requires the phpunit autoloader to work, which means that a non-composer-installed copy of phpunit won’t work.
29 lines
591 B
YAML
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/
|