os: linux dist: trusty before_install: - 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 - sudo cpanm File::Find::Object IO::All 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: - "mkdir B && cd B && cmake ../fortune-mod && make && make check && cd .." - "rm -fr B"