silverstripe-blog/.travis.yml
Daniel Hensby 82681d3073 Updating travis provisioner
Travis will now be more resilient to `composer self-update` failures
2015-06-15 10:01:44 +01:00

35 lines
710 B
YAML
Executable File

language: php
env:
global:
- DB=MYSQL CORE_RELEASE=3.1
matrix:
allow_failures:
- php: hhvm-nightly
include:
- php: 5.6
env: DB=MYSQL
- php: 5.5
env: DB=MYSQL
- php: 5.4
env: DB=MYSQL
- php: 5.3
env: DB=MYSQL
- php: hhvm-nightly
env: DB=MYSQL
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y tidy
before_script:
- phpenv rehash
- 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
script:
- vendor/bin/phpunit blog/tests/