Configure the builds in Travis CI

  1. Go to travis-ci and click on your profile picture in the top right of the window, then select "Settings".
  2. Click the "Sync account" button.
  3. Click the "Activate" button under the "GitHub Apps Integration" section.
  4. Choose "All" or select the "example-consumer" and "example-provider" repositories.
  5. When your screen updates, you should see a list of repositories under "GitHub Apps Integration ". Click on the example-consumer item, and it will take you to the Travis build page.
  6. Click on "More options" > "Trigger build" > "Trigger custom build". The build will fail with an authentication error when it tries to publish the pact - that's expected. We need to update the environment variables to point it at your new Pactflow account.

Expected state by the end of this step

Both consumer and provider builds failing with authentication errors.