From 2a6fb029fd8eae468eadf16d2785f6cacce5d2dd Mon Sep 17 00:00:00 2001 From: Dan Ballard Date: Mon, 4 Mar 2019 14:00:40 -0800 Subject: [PATCH] drone restict when builds --- .drone.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.drone.yml b/.drone.yml index 278a095b..b3f2d750 100644 --- a/.drone.yml +++ b/.drone.yml @@ -6,6 +6,10 @@ pipeline: build-linux: mem_limit: 3G image: therecipe/qt:linux + when: + branch: master + event: [ push, pull_request ] + status: [ success ] environment: - QT_DIR=/opt/Qt - QT_DOCKER='true' @@ -25,6 +29,10 @@ pipeline: build-android: mem_limit: 3G image: therecipe/qt:android + when: + branch: master + event: push + status: [ success ] environment: - QT_DIR=/opt/Qt - QT_DOCKER='true' @@ -46,6 +54,10 @@ pipeline: build-windows: mem_limit: 3G image: therecipe/qt:windows_64_shared + when: + branch: master + event: push + status: [ success ] environment: - QT_DIR=/opt/Qt - QT_DOCKER='true'