| OLD | NEW |
| 1 # Copyright (c) 2015 The LUCI Authors. All rights reserved. | 1 # Copyright (c) 2015 The LUCI Authors. All rights reserved. |
| 2 # Use of this source code is governed under the Apache License, Version 2.0 | 2 # Use of this source code is governed under the Apache License, Version 2.0 |
| 3 # that can be 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.7 | 15 - 1.8 |
| 16 | 16 |
| 17 before_install: | 17 before_install: |
| 18 - ./scripts/ci/install-protobuf.sh | 18 - ./scripts/ci/install-protobuf.sh |
| 19 - go get github.com/golang/protobuf/protoc-gen-go | 19 - go get github.com/golang/protobuf/protoc-gen-go |
| 20 - go get github.com/maruel/pre-commit-go/cmd/pcg | 20 - go get github.com/maruel/pre-commit-go/cmd/pcg |
| 21 | 21 |
| 22 script: | 22 script: |
| 23 - pcg -C 16 | 23 - pcg -C 16 |
| OLD | NEW |