github.com/docker-library/go-dockerlibrary@v0.0.0-20200821205225-669fbe5c1d52/.travis.yml (about)

     1  language: go
     2  
     3  go_import_path: github.com/docker-library/go-dockerlibrary
     4  
     5  go:
     6      - 1.13.x
     7      - 1.12.x
     8  
     9  os:
    10      - linux
    11      - windows
    12  
    13  script:
    14      - |
    15          set -e +x
    16          rm -f coverage.txt
    17          for d in $(go list ./...); do
    18              ( set -x; go test -v -race -cover -coverprofile=profile.out -covermode=atomic "$d" )
    19              if [ -f profile.out ]; then
    20                  cat profile.out >> coverage.txt
    21                  rm profile.out
    22              fi
    23          done
    24  
    25  after_script:
    26      - curl -fL https://codecov.io/bash -o codecov.sh && bash codecov.sh