1language: go 2go: 3 - 1.5.4 4 - 1.6.2 5env: 6 - GOARCH: amd64 7 - GOARCH: 386 8addons: 9 hosts: 10 - api.openweathermap.org 11before_install: 12 - sudo apt-get -qq update 13 - sudo apt-get install -y socat 14 - cat /etc/hosts 15 - wget http://ipinfo.io/ip -qO - 16 - sudo socat TCP-LISTEN:80,fork TCP:${RTCP_HOST}:${RTCP_PORT} > /tmp/socat.log 2>&1 & 17 - go get github.com/mattn/goveralls 18 - go get golang.org/x/tools/cmd/cover 19script: 20 - make test 21 - $HOME/gopath/bin/goveralls -service=travis-ci -repotoken $COVERALLS_TOKEN 22notifications: 23 email: 24 recipients: 25 - brian.downs@gmail.com 26 on_success: change 27 on_failure: always 28 after_success: 29 - coveralls 30