drone restict when builds

This commit is contained in:
Dan Ballard 2019-03-04 14:00:40 -08:00
parent f4368a0810
commit 2a6fb029fd
1 changed files with 12 additions and 0 deletions

View File

@ -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'