diff --git a/.travis.yml b/.travis.yml index 14e94869..196f6b48 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,3 +10,9 @@ php: - nightly sudo: false + +install: + - travis_retry composer install --no-interaction --prefer-source + +script: + - composer test diff --git a/README.md b/README.md index 1c53364d..798ec0c9 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ Step 1. Edit your `composer.json`: ```json { "require": { - "oyejorge/less.php": "~1.5" + "oyejorge/less.php": "~1.7.0.9" } } ``` diff --git a/composer.json b/composer.json index 7724e3f2..5f1affeb 100644 --- a/composer.json +++ b/composer.json @@ -19,7 +19,11 @@ } ], "require": { - "PHP" : ">=5.3" + "PHP" : ">=5.3", + "phpunit/phpunit": "~4.8.16" + }, + "scripts": { + "test": "phpunit" }, "autoload": { "psr-0": { "Less": "lib/" },