Use sudo properly in travis-ci script