1 # Travis-CI Build for libgit2
2 # see travis-ci.org for details
4 # As CMake is not officially supported we use erlang VMs
13 - OPTIONS="-DTHREADSAFE=ON -DCMAKE_BUILD_TYPE=Release"
14 - OPTIONS="-DBUILD_CLAR=ON -DBUILD_EXAMPLES=ON"
18 - compiler: i586-mingw32msvc-gcc
19 env: OPTIONS="-DBUILD_CLAR=OFF -DWIN32=ON -DMINGW=ON"
21 # Make sure CMake is installed
23 - sudo apt-get update >/dev/null
24 - sudo apt-get -q install cmake valgrind
26 # Run the Build script
30 - cmake .. -DCMAKE_INSTALL_PREFIX=../_install $OPTIONS
31 - cmake --build . --target install
36 - if [ -f ./libgit2_clar ]; then valgrind --leak-check=full --show-reachable=yes --suppressions=../libgit2_clar.supp ./libgit2_clar -iall; else echo "Skipping valgrind"; fi
38 # Only watch the development branch
43 # Notify development list when needed
47 - irc.freenode.net#libgit2
54 - secure: "sH0dpPWMirbEe7AvLddZ2yOp8rzHalGmv0bYL/LIhVw3JDI589HCYckeLMSB\n3e/FeXw4bn0EqXWEXijVa4ijbilVY6d8oprdqMdWHEodng4KvY5vID3iZSGT\nxylhahO1XHmRynKQLOAvxlc93IlpVW38vQfby8giIY1nkpspb2w="