From 38a3b83aa86aa59341127dabd39ce8354768cefd Mon Sep 17 00:00:00 2001 From: Wong Hoi Sing Edison Date: Sat, 3 Jun 2017 08:24:34 +0800 Subject: [PATCH] try to revoke coveralls again --- .travis.yml | 3 --- composer.json | 9 +++++---- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 383ea4d4..0ef42f76 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,12 +7,9 @@ dist: trusty language: php before_install: - - sh -c "if [ $TRAVIS_PHP_VERSION != hhvm ]; then phpenv config-rm xdebug.ini; fi" - sh -c "if [ $TRAVIS_PHP_VERSION != hhvm ]; then echo 'sendmail_path = /bin/true' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini; fi" - composer self-update - composer global require --no-update hirak/prestissimo:@stable - - composer global require --no-update phpunit/phpunit:@stable - - composer global require --no-update satooshi/php-coveralls:@stable - composer global update - export PATH="$PATH:$HOME/.composer/vendor/bin" diff --git a/composer.json b/composer.json index 69a859be..35863c6b 100644 --- a/composer.json +++ b/composer.json @@ -47,6 +47,7 @@ "doctrine/orm": "~2.5", "ext-pdo_sqlite": "*", "phpunit/phpunit": "~5.7", + "satooshi/php-coveralls": "~1.0", "sensio/distribution-bundle": "~5.0", "sensio/framework-extra-bundle": "~3.0", "symfony/phpunit-bridge": "~2.8|~3.0", @@ -55,10 +56,10 @@ "twig/extensions": "~1.0" }, "scripts": { - "coveralls": "coveralls -v; exit 0", - "php-cs-fixer": "php-cs-fixer fix; exit 0", - "phpunit": "phpunit -c phpunit.xml.dist; exit 0", - "sami": "sami.php update .sami.php; exit 0" + "coveralls": "coveralls -v", + "php-cs-fixer": "php-cs-fixer fix", + "phpunit": "phpunit -c phpunit.xml.dist", + "sami": "sami.php update .sami.php" }, "type": "symfony-bundle" }