Skip to content

Updated Travis CI configuration #171

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 4 commits into from
Closed

Updated Travis CI configuration #171

wants to merge 4 commits into from

Conversation

javiereguiluz
Copy link
Member

Changes made as recommended by @stof in #154 (comment)

@bocharsky-bw
Copy link
Contributor

Seems --prefer-lowest is avaliable argument for composer up command only.

@ccab
Copy link
Contributor

ccab commented Sep 3, 2015

It makes sense

@javiereguiluz
Copy link
Member Author

Closing it as "won't fix".

@stof
Copy link
Member

stof commented Sep 7, 2015

@javiereguiluz my point in the comment you linked is that it does not really make sense to test against different deps versions as we are locking deps

@javiereguiluz javiereguiluz reopened this Sep 7, 2015
@javiereguiluz
Copy link
Member Author

@stof you are right. Sorry for not understanding you earlier. I've just reopened and made a lot of simplifications to the Travis config. Thanks!

- php: hhvm
- php: nightly
allow_failures:
- php: hhvm
- php: nightly
- env: SYMFONY_VERSION="2.7.x-dev"
- env: SYMFONY_VERSION="2.8.x-dev"

before_install:
- composer self-update
Copy link
Member

Choose a reason for hiding this comment

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

you can even get rid of this (it was necessary to have a Composer version supporting --prefer-lowest because Travis has not updated its environment since February)

Copy link
Member Author

Choose a reason for hiding this comment

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

Done. Thanks!

@bocharsky-bw
Copy link
Contributor

Cool! It has become much easier now 👍

@javiereguiluz
Copy link
Member Author

@bocharsky-bw I agree! @stof's comments are always spot on. I love the new Travis config.

@stof
Copy link
Member

stof commented Sep 7, 2015

@javiereguiluz I also suggest enabling the Travis caching for the composer cache, so that it does not to re-download the same archives for each build (project with locked dependencies benefit from it even more than others because the deps change only when you commit a change, not when a new release of a deps is done:

cache:
  directories:
    - $HOME/.composer/cache/files

@javiereguiluz
Copy link
Member Author

Nice! Enabled the cache too. Thanks.

@stof
Copy link
Member

stof commented Sep 7, 2015

👍

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

Successfully merging this pull request may close these issues.

4 participants