mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
82681d3073
Travis will now be more resilient to `composer self-update` failures
35 lines
710 B
YAML
Executable File
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/
|