# Copyright (c) 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

sudo: false
language: go

go:
- 1.6

before_install:
  - go get github.com/maruel/pre-commit-go/cmd/pcg

script:
  - pcg

# Copyright (c) 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

# {sudo: required, dist: trusty} is the magic incantation to pick the trusty
# beta environment, which is the only environment we can get that has >4GB
# memory. Currently the `go test -race` tests that we run will peak at just
# over 4GB, which results in everything getting OOM-killed.
sudo: required
dist: trusty

language: go

go:
- 1.6

before_install:
  - go get github.com/maruel/pre-commit-go/cmd/pcg

script:
  - pcg -C 16

Increase system specs, limit concurrent.
Travis: Increase system specs, limit concurrent.

Increase the Travis system specs and limit the number of concurrent
tests to try and avoid the signal-kill error that we're seeing in Travis
ATM.

TBR=iannucci@chromium.org
BUG=None

Review URL: https://codereview.chromium.org/1922583002
