Only build on pushes to PRs or the master branch.

Currently a push to a branch on the main repository that also has a PR open results in two separate travis builds being run - one for the branch and one for the PR.
This commit is contained in:
Pentarctagon 2020-10-15 01:26:18 -05:00
parent 74bd0dca54
commit 75ce7161ee
No known key found for this signature in database
GPG key ID: 9456BC54A21DBFA0

View file

@ -19,6 +19,10 @@ env:
global:
secure: Fw9j5BpL8e5f2boEC2D8l0Cm+pCJx7lyvpZvockSM9cF2Cnt/QPbknJLXPryExLhweQO/lvi0MPuoMhRJv0QbChBjdXzJmR+uU1ejCHfpkTc6Cm/yo3tZMG3Zm7vHs00gla2ytK+XyFIVZLtFxyzy2fxjD64sFO3YrUp0KzSXp8=
branches:
only:
- master
jobs:
include:
- os: windows