Initial commit
This commit is contained in:
28
vendor/github.com/briandowns/openweathermap/.travis.yml
generated
vendored
Normal file
28
vendor/github.com/briandowns/openweathermap/.travis.yml
generated
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
language: go
|
||||
go:
|
||||
- 1.13.x
|
||||
env:
|
||||
- GOARCH: amd64
|
||||
- GOARCH: 386
|
||||
addons:
|
||||
hosts:
|
||||
- api.openweathermap.org
|
||||
before_install:
|
||||
- sudo apt-get -qq update
|
||||
- sudo apt-get install -y socat
|
||||
- cat /etc/hosts
|
||||
- wget http://ipinfo.io/ip -qO -
|
||||
- sudo socat TCP-LISTEN:80,fork TCP:${RTCP_HOST}:${RTCP_PORT} > /tmp/socat.log 2>&1 &
|
||||
- go get github.com/mattn/goveralls
|
||||
- go get golang.org/x/tools/cmd/cover
|
||||
script:
|
||||
- make test
|
||||
- $HOME/gopath/bin/goveralls -service=travis-ci -repotoken $COVERALLS_TOKEN
|
||||
notifications:
|
||||
email:
|
||||
recipients:
|
||||
- brian.downs@gmail.com
|
||||
on_success: change
|
||||
on_failure: always
|
||||
after_success:
|
||||
- coveralls
|
||||
Reference in New Issue
Block a user