2017-05-16 17:01:02 +00:00
|
|
|
language: go
|
|
|
|
dist: trusty
|
|
|
|
sudo: required
|
|
|
|
go:
|
|
|
|
- 1.7.5
|
|
|
|
- 1.8.1
|
|
|
|
env:
|
|
|
|
- FTP_SERVER=vsftpd
|
|
|
|
- FTP_SERVER=proftpd
|
|
|
|
before_install:
|
|
|
|
- sudo $TRAVIS_BUILD_DIR/.travis/prepare.sh "$FTP_SERVER"
|
|
|
|
- sudo sysctl net.ipv6.conf.lo.disable_ipv6=0
|
|
|
|
- go get github.com/mattn/goveralls
|
2018-01-16 13:20:59 +00:00
|
|
|
- go get github.com/golang/lint/golint
|
2017-05-16 17:01:02 +00:00
|
|
|
script:
|
|
|
|
- goveralls -v
|
2018-01-16 13:20:59 +00:00
|
|
|
- golint -set_exit_status $(go list ./...)
|