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/ + + + + +