Skip to content

Conversation

@grogy
Copy link
Contributor

@grogy grogy commented Oct 9, 2016

  • update Composer is not necessary in CI server
  • --dev is default configuration in Composer

-  update Composer is not necessary in CI server
- --dev is default configuration in Composer
before_script:
- composer self-update
- composer install --no-interaction --prefer-source --dev
- composer install --no-interaction --prefer-source

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually it's better to always do composer update & cache ~/.composer like nette/di does it

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for feedback :-) What is the reason for it?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's faster :) composer has a local cache for all the files it downloads (you should also use --prefer-dist), and travis can cache that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants