From: Shlomi Fish Date: Thu, 8 Dec 2016 15:19:04 +0000 (+0200) Subject: Import Shlomif_Common X-Git-Tag: fortune-mod-1.99.3~10 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aba1a8d2e70c14229565c3226b490314ef148344;p=fortune-mod Import Shlomif_Common --- diff --git a/.travis.yml b/.travis.yml index 6bc06ea..4a3f9b8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,6 +5,7 @@ before_install: - 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 List::MoreUtils 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"