diff --git a/.travis.yml b/.travis.yml index 818353e0c160..97cec5ee86ba 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,6 +9,15 @@ 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 + env: global: - RUST_BACKTRACE=1 diff --git a/appveyor.yml b/appveyor.yml index f50d1e88a24f..8ab4a994476e 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -6,7 +6,16 @@ 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 + install: - curl -sSf -o rustup-init.exe https://win.rustup.rs/ - rustup-init.exe -y --default-host %TARGET% --default-toolchain nightly diff --git a/bors.toml b/bors.toml new file mode 100644 index 000000000000..4e6e85f45fe6 --- /dev/null +++ b/bors.toml @@ -0,0 +1,4 @@ +status = [ + "continuous-integration/travis-ci/push", + "continuous-integration/appveyor/branch" +]