Skip to content

Commit

Permalink
use prestissimo package for travis environment
Browse files Browse the repository at this point in the history
  • Loading branch information
robfrawley committed Jan 27, 2017
1 parent 4cef6ce commit db07fa2
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .composer/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"config": {
"preferred-install": {
"*": "dist"
},
"prestissimo": {
"insecure": true
}
}
}
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
.github/issue_template.md export-ignore
.github/pull_request_template.md export-ignore
.composer/config.json export-ignore

3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit db07fa2

Please sign in to comment.