Merge pull request #37 from open-sausages/pulls/1.0/3xcompat

Lock version of framework to 3.x compatibility
This commit is contained in:
Ingo Schommer 2016-06-28 08:16:45 +12:00 committed by GitHub
commit 46f42a5cb6
2 changed files with 6 additions and 11 deletions

View File

@ -4,22 +4,18 @@ language: php
sudo: false sudo: false
php: php:
- 5.5 - 5.5
env: env:
matrix: matrix:
- DB=MYSQL CORE_RELEASE=master - DB=MYSQL CORE_RELEASE=3.4
matrix: matrix:
include: include:
- php: 5.6 - php: 5.3
env: DB=PGSQL CORE_RELEASE=master env: DB=MYSQL CORE_RELEASE=3.3
- php: 5.5 - php: 5.5
env: DB=MYSQL CORE_RELEASE=master
- php: 5.3
env: DB=MYSQL CORE_RELEASE=3.2
- php: 5.3
env: DB=MYSQL CORE_RELEASE=3 env: DB=MYSQL CORE_RELEASE=3
before_script: before_script:
@ -28,5 +24,5 @@ before_script:
- 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
script: script:
- phpunit testsession/tests/unit/ - phpunit testsession/tests/unit/

View File

@ -12,9 +12,8 @@
} }
], ],
"require": { "require": {
"php": ">=5.3.2",
"composer/installers": "*", "composer/installers": "*",
"silverstripe/framework": ">=3.2.0" "silverstripe/framework": "^3.2"
}, },
"minimum-stability": "dev" "minimum-stability": "dev"
} }