diff --git a/.travis.yml b/.travis.yml index 2659d19..0ef27a3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,6 @@ php: - 5.6 - 5.5 - 5.4 - - 5.3 - hhvm matrix: diff --git a/composer.json b/composer.json index d0a35f7..84128f8 100644 --- a/composer.json +++ b/composer.json @@ -34,7 +34,7 @@ "require-dev": { "firephp/firephp-core": "~0.4.0", "leafo/lessphp": "~0.4.0", - "leafo/scssphp": "^0.3.0", + "leafo/scssphp": "~0.6.6", "meenie/javascript-packer": "~1.1", "phpunit/phpunit": "4.8.*", "tedivm/jshrink": "~1.1.0" diff --git a/tests/ScssSourceTest.php b/tests/ScssSourceTest.php index c37ca36..a8123dd 100644 --- a/tests/ScssSourceTest.php +++ b/tests/ScssSourceTest.php @@ -4,6 +4,10 @@ class ScssSourceTest extends TestCase { 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']; $_SERVER['DOCUMENT_ROOT'] = self::$document_root; }