OLD | NEW |
1 # Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2015 The LUCI Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed under the Apache License, Version 2.0 |
3 # found in the LICENSE file. | 3 # that can be found in the LICENSE file. |
4 | 4 |
5 # {sudo: required, dist: trusty} is the magic incantation to pick the trusty | 5 # {sudo: required, dist: trusty} is the magic incantation to pick the trusty |
6 # beta environment, which is the only environment we can get that has >4GB | 6 # beta environment, which is the only environment we can get that has >4GB |
7 # memory. Currently the `go test -race` tests that we run will peak at just | 7 # memory. Currently the `go test -race` tests that we run will peak at just |
8 # over 4GB, which results in everything getting OOM-killed. | 8 # over 4GB, which results in everything getting OOM-killed. |
9 sudo: required | 9 sudo: required |
10 dist: trusty | 10 dist: trusty |
11 | 11 |
12 language: go | 12 language: go |
13 | 13 |
14 go: | 14 go: |
15 - 1.6 | 15 - 1.6 |
16 | 16 |
17 before_install: | 17 before_install: |
18 - go get github.com/maruel/pre-commit-go/cmd/pcg | 18 - go get github.com/maruel/pre-commit-go/cmd/pcg |
19 | 19 |
20 script: | 20 script: |
21 - pcg -C 16 | 21 - pcg -C 16 |
OLD | NEW |