# Copyright 2019 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

dist: xenial
language: go
go: "1.11.1"
sudo: false

os:
  - linux
  - osx

env:
  - GO111MODULE=on

before_script:
  - go build ./...
  # Install dependencies for testing.
  - go get github.com/golang/mock/gomock@v1.3.1
  - go get github.com/golang/mock/mockgen@v1.3.1
  # Generate the mocks for testing.
  - go generate ./...

script:
  - make test

# Copyright 2019 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

dist: bionic
language: go
go:
  - "1.11.x"
  - "1.12.x"
  - "1.13.x"
sudo: false

os:
  - linux
  - osx

env:
  - GO111MODULE=on

before_script:
  - go build ./...
  # Install dependencies for testing.
  - go get github.com/golang/mock/gomock@v1.3.1
  - go get github.com/golang/mock/mockgen@v1.3.1
  # Generate the mocks for testing.
  - go generate ./...

script:
  - make test

Test with Ubuntu Bionic (18.04) and Go 1.1{2,3}.x
Test with Ubuntu Bionic (18.04) and Go 1.1{2,3}.x
