I have a bunch of different builds that I need Travis to run when I submit a PR with a script that runs tests, and then I want different Travis build to run when I merge that PR that has a deploy script.
So for the Pull Requests builds in my yaml file I have
if: type IN (pull_request)
and then for the other (deployment) builds I have
if: env(TRAVIS_BRANCH) IN (env(DIST_BRANCH)) AND type NOT IN (pull_request)
But for some reason builds are not being triggered upon merges with this configuration.
When I debug an older build I get: