Skip to content

Commit

Permalink
Avoid double-builds of DependaBot PR branches.
Browse files Browse the repository at this point in the history
  • Loading branch information
pkgw committed Aug 6, 2019
1 parent c07215c commit 2db4045
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,13 @@ environment:
# mingw_target: i686-w64-mingw32
# mingw_package_prefix: mingw-w64-i686

# Don't CI branches besides master. Pull requests still get CI'd -- but
# when a PR comes in on a branch in the same repo, this prevents it from
# being CI'd twice.
branches:
only:
- master

cache:
- '%USERPROFILE%\.cargo\bin'
- '%USERPROFILE%\.cargo\config'
Expand Down
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ matrix:
allow_failures:
- rust: nightly

# Don't CI branches besides master. Pull requests still get CI'd -- but
# when a PR comes in on a branch in the same repo, this prevents it from
# being CI'd twice.
branches:
only:
- master

addons:
apt:
packages:
Expand Down

0 comments on commit 2db4045

Please sign in to comment.