2017-05-16 17:01:02 +00:00
|
|
|
language: go
|
|
|
|
dist: trusty
|
|
|
|
sudo: required
|
|
|
|
go:
|
2018-05-02 16:09:45 +00:00
|
|
|
- 1.10.x
|
2018-10-25 15:35:30 +00:00
|
|
|
- 1.11.x
|
2017-05-16 17:01:02 +00:00
|
|
|
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 ./...)
|