Fix permission issue on travis-ci