Skip to content

Fix Travis CI caching #11

Closed
Closed

Description

@ntwb

Via @gitlost in #7:

"(Just on the current ".travis.yml" I think the cache syntax https://github.com/wp-cli/media-command/blob/master/.travis.yml#L16 for caching "$HOME/.composer/.cache" needs to be in a "directories" list like https://github.com/gitlost/media-command/blob/imagick/.travis.yml#L16)."

@gitlost I don't think this is correct for either repo:
• https://travis-ci.org/wp-cli/media-command/jobs/222084435
• https://travis-ci.org/gitlost/media-command/jobs/222084435

Neither of the above jobs have Setting up build cache or store build cache sections

You can see both these sections in:
• https://travis-ci.org/paulgibbs/behat-wordpress-extension/jobs/224696788

Do each of the respective repos have Travis CI cache info here to view or do you see an error?
• https://travis-ci.org/wp-cli/media-command/caches
• https://travis-ci.org/gitlost/media-command/caches

Activity

  1. ntwb commented on Apr 23, 2017

    @ntwb
    ContributorAuthor

    The #12 PR fixes this:
    • Setting up build cache -> https://travis-ci.org/wp-cli/media-command/jobs/224810499#L155
    • could not download cache -> https://travis-ci.org/wp-cli/media-command/jobs/224810499#L165 <- This is correct as the cache didn't exist previously
    • store build cache -> https://travis-ci.org/wp-cli/media-command/jobs/224810499#L361

  2. ntwb commented on Apr 23, 2017

    @ntwb
    ContributorAuthor

    I just submitted PRs for all the things per the above, I think I got all the repos 😂

  3. ntwb commented on Apr 23, 2017

    @ntwb
    ContributorAuthor

    I've also update the mustache template that generates this in wp-cli/scaffold-command#8

  4. added this to the 1.0.2 milestone on Apr 24, 2017
  5. danielbachhuber commented on Apr 24, 2017

    @danielbachhuber
    Member

    👍 Thanks @ntwb !

  6. added 2 commits that reference this issue on Nov 18, 2022
    5ca9a08
    e9b69b1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions