github.com/nikandfor/loc@v0.5.1/.travis.yml (about) 1 language: go 2 3 dist: focal 4 5 os: 6 - linux 7 - osx 8 - windows 9 10 arch: 11 - amd64 12 - i386 13 - arm64 14 15 go: 16 - "1.18" 17 - "1.17" 18 - "1.16" 19 - "1.15" 20 - "1.14" 21 22 script: 23 - go test -v -race -coverprofile=coverage.txt -covermode=atomic ./... 24 25 #after_success: 26 # - test "$TRAVIS_OS_NAME" = linux && test "$TRAVIS_CPU_ARCH" = amd64 && test "$TRAVIS_GO_VERSION" = "1.18" && export CODECOV_UPLOAD=yes 27 # - test $CODECOV_UPLOAD = "yes" && bash <(curl -s https://codecov.io/bash)