silverstripe-testsession/.travis.yml

28 lines
621 B
YAML

# See https://github.com/silverstripe-labs/silverstripe-travis-support for setup details
language: php
sudo: false
env:
matrix:
- DB=MYSQL CORE_RELEASE=3.7
matrix:
include:
- php: 7.1
env: DB=MYSQL CORE_RELEASE=3.7
- php: 7.2
env: DB=MYSQL CORE_RELEASE=3.7
- php: 7.3
env: DB=MYSQL CORE_RELEASE=3.7
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/