From 2a36274a75aa98281ee76e5b488d066d612c2c41 Mon Sep 17 00:00:00 2001 From: William DURAND Date: Thu, 19 Apr 2012 18:51:53 +0200 Subject: [PATCH] Updated composer/travis settings --- .travis.yml | 24 ++++++++++++------------ composer.json | 6 ++++-- 2 files changed, 16 insertions(+), 14 deletions(-) diff --git a/.travis.yml b/.travis.yml index 73ba55c..c3ef52f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,12 +1,12 @@ -language: php - -php: - - 5.3.2 - - 5.3 - - 5.4 - -before_script: - - wget -nc http://getcomposer.org/composer.phar - - php composer.phar install - -script: phpunit +language: php + +php: + - 5.3.2 + - 5.3 + - 5.4 + +before_script: + - curl -s http://getcomposer.org/installer | php + - php composer.phar install --dev + +script: phpunit diff --git a/composer.json b/composer.json index 14fb453..9968dec 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,9 @@ "require": { "symfony/framework-bundle": "2.1.*", "symfony/twig-bundle": "2.1.*", - "symfony/form": "2.1.*", + "symfony/form": "2.1.*" + }, + "require-dev": { "symfony/css-selector": "2.1.*", "symfony/browser-kit": "2.1.*", "symfony/validator": "2.1.*", @@ -27,4 +29,4 @@ "psr-0": { "Nelmio\\ApiDocBundle": "" } }, "target-dir": "Nelmio/ApiDocBundle" -} \ No newline at end of file +}