Add travis yml

This commit is contained in:
Damian Mooyman 2015-10-30 15:20:37 +13:00
parent 2c2b82a6f6
commit 76a19390c8

28
.travis.yml Normal file
View File

@ -0,0 +1,28 @@
language: php
sudo: false
php:
- 5.3
env:
- DB=MYSQL CORE_RELEASE=3.1
matrix:
include:
- php: 5.4
env: DB=PGSQL CORE_RELEASE=3.1
- php: 5.5
env: DB=MYSQL CORE_RELEASE=3
- php: 5.6
env: DB=MYSQL CORE_RELEASE=3.2
before_script:
- composer self-update || true
- phpenv rehash
- 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 iframe/tests