mirror of
https://github.com/silverstripe/silverstripe-sqlite3
synced 2024-10-22 17:05:37 +02:00
Merge pull request #21 from dhensby/pulls/2.0/travis-fix
Update travis for 4.0 tests
This commit is contained in:
commit
0bd28649f5
28
.travis.yml
28
.travis.yml
@ -1,20 +1,28 @@
|
|||||||
language: php
|
# See https://github.com/silverstripe-labs/silverstripe-travis-support for setup details
|
||||||
|
|
||||||
sudo: false
|
sudo: false
|
||||||
|
|
||||||
|
language: php
|
||||||
|
|
||||||
php:
|
php:
|
||||||
- 5.5
|
- 5.5
|
||||||
|
- 5.6
|
||||||
|
- 7.0
|
||||||
|
|
||||||
env:
|
env:
|
||||||
matrix:
|
- DB=SQLITE CORE_RELEASE=master PDO=1
|
||||||
- DB=SQLITE CORE_RELEASE=master
|
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
- php: 5.6
|
||||||
|
env: DB=SQLITE CORE_RELEASE=master PDO=0
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- composer self-update || true
|
- composer self-update || true
|
||||||
- phpenv rehash
|
- 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
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- phpunit framework/tests
|
- vendor/bin/phpunit framework/tests
|
||||||
|
@ -16,9 +16,14 @@
|
|||||||
"require": {
|
"require": {
|
||||||
"silverstripe/framework": "~4.0"
|
"silverstripe/framework": "~4.0"
|
||||||
},
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"phpunit/phpunit": "~4.8"
|
||||||
|
},
|
||||||
"extra": {
|
"extra": {
|
||||||
"branch-alias": {
|
"branch-alias": {
|
||||||
"dev-master": "2.0.x-dev"
|
"dev-master": "2.0.x-dev"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"minimum-stability": "dev",
|
||||||
|
"prefer-stable": true
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user