Skip to content

Avoid multiple builds #5

@bguiz

Description

@bguiz

I have solved the problem that you describe here:

"One drawback of this is that if you have a build matrix that builds your project with multiple versions of your platform, you'll end up with the same number of pages builds. Which seems redundant."

Essentially, compare the build number to the job number, and allow only the first (or whichever index) to pass through. Example:

https://github.com/bguiz/plugin-registry/blob/59b0601d30ab8e75caaf9958aac4618277321cbd/.travis.yml#L17

Thanks for writing your blog post, BTW!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions