Skip to content

Commit

Permalink
Only build on pushes to PRs or the master branch.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Pentarctagon committed Oct 15, 2020
1 parent 74bd0dc commit 75ce716
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Expand Up @@ -19,6 +19,10 @@ env:
global:
secure: Fw9j5BpL8e5f2boEC2D8l0Cm+pCJx7lyvpZvockSM9cF2Cnt/QPbknJLXPryExLhweQO/lvi0MPuoMhRJv0QbChBjdXzJmR+uU1ejCHfpkTc6Cm/yo3tZMG3Zm7vHs00gla2ytK+XyFIVZLtFxyzy2fxjD64sFO3YrUp0KzSXp8=

branches:
only:
- master

jobs:
include:
- os: windows
Expand Down

0 comments on commit 75ce716

Please sign in to comment.