.travis.yml 377 B

1234567891011121314151617
  1. language: go
  2. dist: trusty
  3. sudo: required
  4. go:
  5. - 1.9.x
  6. - 1.10.x
  7. env:
  8. - FTP_SERVER=vsftpd
  9. - FTP_SERVER=proftpd
  10. before_install:
  11. - sudo $TRAVIS_BUILD_DIR/.travis/prepare.sh "$FTP_SERVER"
  12. - sudo sysctl net.ipv6.conf.lo.disable_ipv6=0
  13. - go get github.com/mattn/goveralls
  14. - go get github.com/golang/lint/golint
  15. script:
  16. - goveralls -v
  17. - golint -set_exit_status $(go list ./...)