2013-03-29 10:12:45 +01:00
|
|
|
# See https://github.com/silverstripe-labs/silverstripe-travis-support for setup details
|
|
|
|
|
2016-09-12 01:56:23 +02:00
|
|
|
sudo: false
|
|
|
|
|
2016-03-04 04:25:45 +01:00
|
|
|
language: php
|
2013-03-29 10:12:45 +01:00
|
|
|
|
2016-09-12 01:56:23 +02:00
|
|
|
php:
|
|
|
|
- 5.3
|
|
|
|
- 5.4
|
|
|
|
- 5.5
|
|
|
|
- 5.6
|
|
|
|
- 7.0
|
2015-07-20 17:19:03 +02:00
|
|
|
|
2013-03-29 10:12:45 +01:00
|
|
|
env:
|
2016-09-12 01:56:23 +02:00
|
|
|
- DB=MYSQL CORE_RELEASE=3.2
|
2013-03-29 10:12:45 +01:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
2016-09-12 01:56:23 +02:00
|
|
|
- php: 5.6
|
2015-07-20 17:19:03 +02:00
|
|
|
env: DB=MYSQL CORE_RELEASE=3
|
2016-09-12 01:56:23 +02:00
|
|
|
- php: 5.6
|
|
|
|
env: DB=MYSQL CORE_RELEASE=3.1
|
|
|
|
- php: 5.6
|
|
|
|
env: DB=PGSQL CORE_RELEASE=3.2
|
|
|
|
allow_failures:
|
|
|
|
- php: 7.0
|
2013-03-29 10:12:45 +01:00
|
|
|
|
|
|
|
before_script:
|
2016-09-12 01:56:23 +02:00
|
|
|
- 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
|
|
|
|
- composer require wilr/silverstripe-googlesitemaps
|
2013-03-29 10:12:45 +01:00
|
|
|
|
2016-03-04 04:25:45 +01:00
|
|
|
script:
|
2016-09-12 01:56:23 +02:00
|
|
|
- vendor/bin/phpunit googlesitemaps/tests
|