Get travis passing

This commit is contained in:
Daniel Hensby 2018-03-07 11:05:10 +00:00
parent c00f420a8b
commit 326b1ce4b0
No known key found for this signature in database
GPG Key ID: B00D1E9767F0B06E
1 changed files with 14 additions and 8 deletions

View File

@ -4,34 +4,40 @@ sudo: false
language: php language: php
dist: precise
php: php:
- 5.3 - 5.3
- 5.4 - 5.4
- 5.5 - 5.5
- 5.6 - 5.6
- 7.0 - 7.0
- 7.1
env: env:
- DB=MYSQL CORE_RELEASE=3.2 - DB=MYSQL CORE_RELEASE=3.6
matrix: matrix:
include: include:
- php: 5.6 - php: 5.6
env: DB=MYSQL CORE_RELEASE=3 env: DB=MYSQL CORE_RELEASE=3.5
- php: 5.6 - php: 5.6
env: DB=MYSQL CORE_RELEASE=3.1 env: DB=PGSQL CORE_RELEASE=3.6
- php: 5.6 - php: 7.2
env: DB=PGSQL CORE_RELEASE=3.2 env: CORE_RELEASE=3
- php: nightly
env: CORE_RELEASE=3
allow_failures: allow_failures:
- php: 7.0 - php: 7.2
env: CORE_RELEASE=3
- php: nightly
env: CORE_RELEASE=3
before_script: before_script:
- composer self-update || true - composer self-update || true
- git clone git://github.com/silverstripe-labs/silverstripe-travis-support.git ~/travis-support - git clone git://github.com/silverstripe-labs/silverstripe-travis-support.git ~/travis-support
- php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss - php ~/travis-support/travis_setup.php --source `pwd` --target ~/builds/ss
- cd ~/builds/ss - cd ~/builds/ss
- composer install
- composer require wilr/silverstripe-googlesitemaps
script: script:
- vendor/bin/phpunit googlesitemaps/tests - vendor/bin/phpunit googlesitemaps/tests