From fd1231e5f840431bd120629c24a090fb12a46421 Mon Sep 17 00:00:00 2001 From: Gregory Oschwald Date: Mon, 20 May 2013 12:50:10 -0700 Subject: [PATCH] Updates for Coveralls. Also always installing a local composer as the Travis one is giving us issues --- .travis.yml | 7 ++++--- phpunit.xml.dist | 5 +++++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3914895..c32dd75 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,14 +6,15 @@ php: - 5.5 before_install: - - composer self-update - - composer install --dev --no-interaction + - curl -s http://getcomposer.org/installer | php + - php composer.phar install --dev --no-interaction - pyrus install pear/PHP_CodeSniffer - phpenv rehash script: + - mkdir -p build/logs - phpcs --standard=PSR2 src/ - - phpunit + - php vendor/bin/phpunit -c phpunit.xml.dist after_script: - php vendor/bin/coveralls diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 0f0e810..e935730 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -12,4 +12,9 @@ ./src/GeoIP2/ + + + + +