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'