support for mem_limit and memswap_limit

This commit is contained in:
Brad Rydzewski
2020-01-17 11:17:14 -08:00
parent 385ce04eec
commit 01bf779338
4 changed files with 38 additions and 24 deletions

View File

@@ -32,6 +32,8 @@ steps:
image: golang
detach: false
failure: ignore
mem_limit: 1GiB
memswap_limit: 2GiB
commands:
- go build
- go test