mirror of
https://github.com/mrclay/minify.git
synced 2025-01-17 13:18:13 +01:00
Require later SCSS PHP for tests
No longer test PHP 5.3
This commit is contained in:
parent
d1786045b2
commit
ddf3a4e57f
@ -6,7 +6,6 @@ php:
|
|||||||
- 5.6
|
- 5.6
|
||||||
- 5.5
|
- 5.5
|
||||||
- 5.4
|
- 5.4
|
||||||
- 5.3
|
|
||||||
- hhvm
|
- hhvm
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
"require-dev": {
|
"require-dev": {
|
||||||
"firephp/firephp-core": "~0.4.0",
|
"firephp/firephp-core": "~0.4.0",
|
||||||
"leafo/lessphp": "~0.4.0",
|
"leafo/lessphp": "~0.4.0",
|
||||||
"leafo/scssphp": "^0.3.0",
|
"leafo/scssphp": "~0.6.6",
|
||||||
"meenie/javascript-packer": "~1.1",
|
"meenie/javascript-packer": "~1.1",
|
||||||
"phpunit/phpunit": "4.8.*",
|
"phpunit/phpunit": "4.8.*",
|
||||||
"tedivm/jshrink": "~1.1.0"
|
"tedivm/jshrink": "~1.1.0"
|
||||||
|
@ -4,6 +4,10 @@ class ScssSourceTest extends TestCase
|
|||||||
{
|
{
|
||||||
public function setUp()
|
public function setUp()
|
||||||
{
|
{
|
||||||
|
if (version_compare(PHP_VERSION, '5.4.0', '<')) {
|
||||||
|
$this->markTestSkipped('scssphp is not compatible with this PHP version.');
|
||||||
|
}
|
||||||
|
|
||||||
$this->realDocRoot = $_SERVER['DOCUMENT_ROOT'];
|
$this->realDocRoot = $_SERVER['DOCUMENT_ROOT'];
|
||||||
$_SERVER['DOCUMENT_ROOT'] = self::$document_root;
|
$_SERVER['DOCUMENT_ROOT'] = self::$document_root;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user