summaryrefslogtreecommitdiffstats
path: root/vendor/google.golang.org/grpc/.travis.yml
blob: 3c2621ab750a4562acffad48dd5a32c889057150 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
language: go

go:
  - 1.6.x
  - 1.7.x
  - 1.8.x
  - 1.9.x
  - 1.10.x

matrix:
  include:
  - go: 1.10.x
    env: RUN386=1

go_import_path: google.golang.org/grpc

before_install:
  - if [[ -n "$RUN386" ]]; then export GOARCH=386; fi
  - if [[ "$TRAVIS_GO_VERSION" = 1.10* && "$GOARCH" != "386" ]]; then ./vet.sh -install || exit 1; fi

script:
  - if [[ "$TRAVIS_GO_VERSION" = 1.10* && "$GOARCH" != "386" ]]; then ./vet.sh || exit 1; fi
  - make test || exit 1
  - if [[ "$GOARCH" != "386" ]]; then make testrace; fi