Is icmp blocked at travis-ci?
Found the answer to my own question, straight from travis support


  Hi Name,
  
  Thanks for writing in. Yes indeed, on our container based
  infrastructure, ICMP is not possible. Could you speficy sudo:
  required in the .travis.yml and see if it brings improvement?
  
  Thanks!
  
  Joep