github.com/SpiderOak/wwhrd@v0.2.2-0.20181011170608-77c9537cbd49/.travis.yml (about) 1 language: go 2 3 os: 4 - linux 5 - osx 6 7 go: 8 - 1.7.x 9 - 1.8.x 10 - 1.9.x 11 - '1.10' 12 13 services: 14 - docker 15 16 install: 17 - echo "Skipping the default go get..." 18 19 script: 20 - hack/coverage 21 - go install -v github.com/frapposelli/wwhrd 22 - wwhrd check 23 24 after_success: 25 - bash <(curl -s https://codecov.io/bash) -f .cover/cover.out 26 - test -n "$TRAVIS_TAG" && docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD" 27 28 deploy: 29 - provider: script 30 skip_cleanup: true 31 script: curl -sL http://git.io/goreleaser | bash 32 on: 33 tags: true 34 condition: $TRAVIS_OS_NAME = linux 35 go: '1.10'