From d1c681992a97a3a1b402fc3aeea5a36191a93068 Mon Sep 17 00:00:00 2001 From: igor-chepurnoi Date: Tue, 15 Aug 2017 08:24:43 +0300 Subject: [PATCH] update tests configuration --- .travis.yml | 4 +--- composer.json | 8 +++++++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index b129a70..eeca0b5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,14 +10,12 @@ sudo: false cache: directories: - $HOME/.composer/cache - - vendor install: - travis_retry composer self-update && composer --version - - travis_retry composer global require "fxp/composer-asset-plugin:~1.1.1" - export PATH="$HOME/.composer/vendor/bin:$PATH" - travis_retry composer install --prefer-dist --no-interaction script: - vendor/friendsofphp/php-cs-fixer/php-cs-fixer fix --dry-run --diff - - phpunit --verbose $PHPUNIT_FLAGS + - phpunit --verbose diff --git a/composer.json b/composer.json index 4137ece..01ee348 100644 --- a/composer.json +++ b/composer.json @@ -28,5 +28,11 @@ "psr-4": { "yii2mod\\cashier\\": "" } - } + }, + "repositories": [ + { + "type": "composer", + "url": "https://asset-packagist.org" + } + ] }