Skip to content

Commit

Permalink
[CI] Travis & AppVeyor: exclude feature branch named like the other one
Browse files Browse the repository at this point in the history
This will avoid triggering a Travis build when only AppVeyor YAML changes and vice-versa
  • Loading branch information
hsandt committed Jun 29, 2020
1 parent 1fbae9a commit c100177
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Reference:
# https://github.com/Microsoft/GSL/blob/master/.travis.yml

if: NOT branch = feature/appveyor

language: cpp

# For Linux, use Ubuntu 18.04 to have g++-10 in Ubuntu Toolchain PPA
Expand Down
4 changes: 4 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
version: '0.1.{build}'

branches:
except:
- travis

image: Visual Studio 2019

environment:
Expand Down

0 comments on commit c100177

Please sign in to comment.