Looked at https://github.com/miyagawa/cpanminus/blob/devel/.travis.yml as example.