mirror of
https://github.com/silverstripe/silverstripe-docsviewer
synced 2024-10-22 11:05:56 +02:00
32 lines
568 B
YAML
32 lines
568 B
YAML
# See https://github.com/silverstripe-labs/silverstripe-travis-support for setup details
|
|
|
|
sudo: false
|
|
|
|
language: php
|
|
|
|
dist: precise
|
|
|
|
php:
|
|
- 5.3
|
|
- 5.4
|
|
- 5.5
|
|
- 5.6
|
|
- 7.0
|
|
|
|
env:
|
|
- DB=MYSQL CORE_RELEASE=3
|
|
|
|
matrix:
|
|
allow_failures:
|
|
- php: 7.0
|
|
|
|
before_script:
|
|
- 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:
|
|
- vendor/bin/phpunit docsviewer/tests
|