2017-05-17 01:01:02 +08:00
|
|
|
language: go
|
|
|
|
dist: trusty
|
|
|
|
sudo: required
|
|
|
|
go:
|
2018-05-03 00:09:45 +08:00
|
|
|
- 1.10.x
|
2018-10-25 23:35:30 +08:00
|
|
|
- 1.11.x
|
2017-05-17 01:01:02 +08: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 21:20:59 +08:00
|
|
|
- go get github.com/golang/lint/golint
|
2017-05-17 01:01:02 +08:00
|
|
|
script:
|
|
|
|
- goveralls -v
|
2018-01-16 21:20:59 +08:00
|
|
|
- golint -set_exit_status $(go list ./...)
|