From 7404fca8283039bc370d056d4581167e2ecae1eb Mon Sep 17 00:00:00 2001 From: Ahmad Nassri Date: Thu, 15 Jan 2015 00:12:52 -0500 Subject: [PATCH] minor update to README & Travis fix --- .travis.yml | 4 ++++ README.md | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 31212d9..84ca249 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,10 @@ php: - 5.6 - hhvm +before_script: + - composer selfupdate + - composer install + after_script: - vendor/bin/test-reporter diff --git a/README.md b/README.md index df19a06..fd06ed7 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,10 @@ Unirest is a set of lightweight HTTP libraries available in multiple languages, * Customizable default headers for every request (DRY) * Automatic JSON parsing into a native object for JSON responses +## Requirements + +- [cURL](http://php.net/manual/en/book.curl.php) + ## Installation ### Using [Composer](https://getcomposer.org) @@ -25,7 +29,6 @@ Unirest is a set of lightweight HTTP libraries available in multiple languages, To install unirest-php with Composer, just add the following to your `composer.json` file: ```json -// composer.json { "require-dev": { "mashape/unirest-php": "2.*"