ci: allow all branches except trying.tmp and staging.tmp to be built

This commit is contained in:
Matthias Krüger 2018-10-25 20:14:39 +02:00
parent 4a7601bd55
commit 9e15791f0a
2 changed files with 12 additions and 16 deletions

View File

@ -10,13 +10,11 @@ os:
sudo: false
branches:
only:
# This is where pull requests from "bors r+" are built.
- staging
# This is where pull requests from "bors try" are built.
- trying
# Also build pull requests.
- master
# Don't build these branches
except:
# Used by bors
- trying.tmp
- staging.tmp
env:
global:

View File

@ -6,16 +6,14 @@ environment:
#- TARGET: i686-pc-windows-msvc
#- TARGET: x86_64-pc-windows-gnu
- TARGET: x86_64-pc-windows-msvc
branches:
only:
# This is where pull requests from "bors r+" are built.
- staging
# This is where pull requests from "bors try" are built.
- trying
# Also build pull requests.
- master
# Don't build these branches
except:
# Used by bors
- trying.tmp
- staging.tmp
install:
- curl -sSf -o rustup-init.exe https://win.rustup.rs/
- rustup-init.exe -y --default-host %TARGET% --default-toolchain nightly