From 60aa101a5cd412e0953829699b56af08aeff2b64 Mon Sep 17 00:00:00 2001 From: JustArchi Date: Fri, 6 Jan 2017 13:29:53 +0100 Subject: [PATCH] Travis/AppVeyor: build only master branch --- .travis.yml | 10 ++++++++++ appveyor.yml | 3 +++ 2 files changed, 13 insertions(+) diff --git a/.travis.yml b/.travis.yml index 735b59b5a..2975016df 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,15 +1,23 @@ language: csharp solution: ArchiSteamFarm.sln +# Save bandwidth by limiting to only last 10 commits git: depth: 10 +# Don't build other branches than master +branches: + only: + - master + +# We test ASF on latest stable and nightly version of Mono mono: - weekly # - alpha # - beta - latest +# Mono is often broken, allow all Mono failures by default matrix: allow_failures: - mono: weekly @@ -17,9 +25,11 @@ matrix: # - mono: beta - mono: latest +# Initialize our envsetup before building before_script: - source mono_envsetup.sh +# Push building notifications on Gitter notifications: email: false webhooks: diff --git a/appveyor.yml b/appveyor.yml index 422cd56fc..c31840643 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,4 +1,7 @@ version: 1.0.{build}-{branch} +branches: + only: + - master image: Visual Studio 2015 configuration: Release platform: Any CPU