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
29 - git init --bare _temp/test.git
30 - git daemon --listen=localhost --export-all --enable=receive-pack --base-path=_temp _temp 2>/dev/null &
31 - export GITTEST_REMOTE_URL="git://localhost/test.git"
34 - cmake .. -DCMAKE_INSTALL_PREFIX=../_install $OPTIONS
35 - cmake --build . --target install
40 - valgrind --leak-check=full --show-reachable=yes --suppressions=../libgit2_clar.supp ./libgit2_clar -ionline
42 # Only watch the development branch
47 # Notify development list when needed
51 - irc.freenode.net#libgit2
60 - secure: "sH0dpPWMirbEe7AvLddZ2yOp8rzHalGmv0bYL/LIhVw3JDI589HCYckeLMSB\n3e/FeXw4bn0EqXWEXijVa4ijbilVY6d8oprdqMdWHEodng4KvY5vID3iZSGT\nxylhahO1XHmRynKQLOAvxlc93IlpVW38vQfby8giIY1nkpspb2w="