github.com/m-lab/locate@v0.17.6/.travis.yml (about)

     1  dist: jammy
     2  
     3  language: go
     4  go: go1.20.14
     5  
     6  addons:
     7    apt:
     8      update: true
     9      packages:
    10      - ca-certificates
    11  
    12  install:
    13  - go1.20.14 install -v ./...
    14  - go1.20.14 install github.com/mattn/goveralls@latest
    15  
    16  script:
    17  - go1.20.14 vet ./...
    18  - go1.20.14 test -timeout 5m -p 1 ./... -cover=1 -coverprofile=_c.cov
    19  - go1.20.14 test -timeout 5m ./... -race
    20  
    21  after_success:
    22  # Note: Do this in the after_success stage so that
    23  # a broken coveralls won't cause the build to fail.
    24  # (details: https://github.com/lemurheavy/coveralls-public/issues/1264)
    25  - $GOPATH/bin/goveralls -service=travis-pro -coverprofile=_c.cov