| OLD | NEW |
| 1 # Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2015 The Chromium 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 by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 sudo: false | 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 |
| 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. |
| 9 sudo: required |
| 10 dist: trusty |
| 11 |
| 6 language: go | 12 language: go |
| 7 | 13 |
| 8 go: | 14 go: |
| 9 - 1.6 | 15 - 1.6 |
| 10 | 16 |
| 11 before_install: | 17 before_install: |
| 12 - go get github.com/maruel/pre-commit-go/cmd/pcg | 18 - go get github.com/maruel/pre-commit-go/cmd/pcg |
| 13 | 19 |
| 14 script: | 20 script: |
| 15 - pcg | 21 - pcg -C 16 |
| OLD | NEW |