- sudo apt-get update -qq
- sudo apt-get install -y ack-grep cmake cpanminus gcc libperl-dev librecode-dev perl make valgrind
- sudo dpkg-divert --local --divert /usr/bin/ack --rename --add /usr/bin/ack-grep
+ # See https://rt.cpan.org/Public/Bug/Display.html?id=122875 .
+ - sudo cpanm List::MoreUtils::XS
- sudo cpanm File::Find::Object IO::All List::MoreUtils Test::Differences Test::RunValgrind
- ( a="$(pwd)"; tgt="fortune-mod/cmake/"; mkdir B2 && cd B2 && hg clone https://bitbucket.org/shlomif/shlomif-cmake-modules && cd shlomif-cmake-modules/shlomif-cmake-modules && cp -f "$(pwd)"/Shlomif_Common.cmake "$a"/"$tgt"/ )
script: