From d684a60a0f33c55e7100f9293eca9cf46fea2b0d Mon Sep 17 00:00:00 2001 From: thefosk Date: Fri, 1 Nov 2013 19:37:24 -0700 Subject: [PATCH] travis --- .travis.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..5b32fc4 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,12 @@ +language: php + +php: + - 5.2 + - 5.3 + - 5.4 + - 5.5 + +before_script: + - sh -c "if [ '$TRAVIS_PHP_VERSION' = '5.2' ]; then wget http://iweb.dl.sourceforge.net/project/simpletest/simpletest/simpletest_1.1/simpletest_1.1.0.tar.gz; tar xf simpletest_1.1.0.tar.gz -C test; else composer install --dev --prefer-source; fi" + +script: php test/Unirest.php