github.com/muyo/sno@v1.2.1/.travis.yml (about)

     1  language: go
     2  
     3  go:
     4    - 1.x
     5    - "1.14"
     6    - master
     7  
     8  arch:
     9    - amd64
    10  
    11  os:
    12    - linux
    13    - osx
    14    - windows
    15  
    16  dist: bionic
    17  
    18  before_install:
    19    - go get github.com/mattn/goveralls
    20  
    21  script:
    22    - go test -v -tags=test -race -coverprofile=coverage.txt -covermode=atomic ./...
    23  
    24  after_success:
    25    - goveralls -coverprofile=coverage.txt -service=travis-ci
    26    - bash <(curl -s https://codecov.io/bash) -f coverage.txt
    27  
    28  notifications:
    29    webhooks: https://coveralls.io/webhook
    30  
    31  jobs:
    32    include:
    33      - os: linux
    34        arch: arm64
    35        go: "1.14"
    36      - os: linux
    37        arch: ppc64le
    38        go: "1.14"
    39      - os: linux
    40        arch: s390x
    41        go: "1.14"
    42        script:
    43          # Go's race detector does not work on s390x
    44          - go test -v -tags=test -coverprofile=coverage.txt -covermode=atomic ./...
    45  
    46    allow_failures:
    47      - go: "master"
    48  
    49    fast_finish: true