From db07fa23d411fc14249e58ee20ad86d3fee71e8f Mon Sep 17 00:00:00 2001 From: Rob Frawley 2nd Date: Fri, 27 Jan 2017 15:41:19 -0500 Subject: [PATCH] use prestissimo package for travis environment --- .composer/config.json | 10 ++++++++++ .gitattributes | 2 ++ .travis.yml | 3 ++- 3 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 .composer/config.json diff --git a/.composer/config.json b/.composer/config.json new file mode 100644 index 000000000..436403f60 --- /dev/null +++ b/.composer/config.json @@ -0,0 +1,10 @@ +{ + "config": { + "preferred-install": { + "*": "dist" + }, + "prestissimo": { + "insecure": true + } + } +} diff --git a/.gitattributes b/.gitattributes index b4800854e..ec247a92d 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1,4 @@ .github/issue_template.md export-ignore .github/pull_request_template.md export-ignore +.composer/config.json export-ignore + diff --git a/.travis.yml b/.travis.yml index 846a58713..5da394fe3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -52,9 +52,10 @@ before_install: - if [ "${TRAVIS_PHP_VERSION}" != "hhvm" ] && [ "${TRAVIS_PHP_VERSION}" != "5.3" ]; then composer require --dev league/flysystem:~1.0 --no-update; fi; - if [ "${TRAVIS_PHP_VERSION}" != "hhvm" ] && [ "${TRAVIS_PHP_VERSION:0:1}" != "7" ]; then composer require --dev doctrine/mongodb-odm:~1.0 --no-update; yes "" | pecl -q install -f mongo; fi; - if [ "${SYMFONY_VERSION:-x}" != "x" ]; then composer require "symfony/symfony:${SYMFONY_VERSION}" --no-update; fi; + - cp ./.composer/config.json ~/.composer; composer global require "hirak/prestissimo:^0.3" install: - - composer update --prefer-source $COMPOSER_FLAGS + - composer update $COMPOSER_FLAGS script: - ./bin/phpunit -vvv