Squarespace / pgbedrock

Manage a Postgres cluster's roles, role memberships, schema ownership, and privileges
https://pgbedrock.readthedocs.io/en/latest/
Other
315 stars 35 forks source link

Parametrize Travis Builds so Environments are Comparable #31

Closed cpdean closed 6 years ago

cpdean commented 6 years ago

This is a PR against a PR, @zcmarine 's in-progress PR to add multiple postgres support.

I have changed it to leverage Travis's ability to run a build matrix and parametrize the test suite against different environments and run each build separately -- both for parallelization and for ease of tracking what environment is broken versus having a monolithic test suite that controls environmental conditions.

Now we can see on Travis what part of the build is failing from a high-level view:

image

zcmarine commented 6 years ago

As discussed over Slack, this PR was meant to be a proof-of-concept and not intended to actually be merged. With Conrad's approval I am closing this PR as unmerged and am incorporating his approach into PR #28.

Relatedly, this was a fantastic idea @cpdean! Parametrizing our travis builds is super nifty. :)