I have a

ping -c 1 -q n.n.n.n command 

that fails only at Travis CI.

Is ping blocked there?

1 Answer 1


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?



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.