Merge pull request #21 from dhensby/pulls/2.0/travis-fix

Update travis for 4.0 tests
This commit is contained in:
Damian Mooyman 2016-03-24 11:57:08 +13:00
commit 0bd28649f5
2 changed files with 24 additions and 11 deletions

View File

@ -1,20 +1,28 @@
language: php
# See https://github.com/silverstripe-labs/silverstripe-travis-support for setup details
sudo: false
language: php
php:
- 5.5
- 5.6
- 7.0
env:
- DB=SQLITE CORE_RELEASE=master PDO=1
matrix:
- DB=SQLITE CORE_RELEASE=master
include:
- php: 5.6
env: DB=SQLITE CORE_RELEASE=master PDO=0
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
- composer install
script:
- phpunit framework/tests
- vendor/bin/phpunit framework/tests

View File

@ -16,9 +16,14 @@
"require": {
"silverstripe/framework": "~4.0"
},
"require-dev": {
"phpunit/phpunit": "~4.8"
},
"extra": {
"branch-alias": {
"dev-master": "2.0.x-dev"
}
}
},
"minimum-stability": "dev",
"prefer-stable": true
}