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 install cmake valgrind
25 # Run the Build script
29 - cmake .. -DCMAKE_INSTALL_PREFIX=../_install $OPTIONS
30 - cmake --build . --target install
35 - if [ -f ./libgit2_clar ]; then valgrind --leak-check=full --show-reachable=yes --suppressions=../libgit2_clar.supp ./libgit2_clar; else echo "Skipping valgrind"; fi
37 # Only watch the development branch
42 # Notify development list when needed
46 - irc.freenode.net#libgit2