before_install:
    - sudo apt-get update -qq
    - sudo apt-get install -qq exim4
    - sudo service exim4 start
    - sleep 1
    - sudo netstat -tulpen

language: go

go:
  - 1.6

before_install:
    - sudo apt-get update -qq
    - sudo apt-get install -qq exim4
    - sudo service exim4 start
    - sleep 1
    - sudo iptables -v -L
    - sudo iptables -F INPUT
    - sudo iptables -F OUTPUT
    - sudo iptables -F FORWARD
    - sudo netstat -tulpen

language: go

go:
  - 1.6

Allow connection to :25 for tests
Travis: Allow connection to :25 for tests
