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