1 # Travis-CI Build for libgit2
2 # see travis-ci.org for details
4 # As CMake is not officially supported we use erlang VMs
9 - OPTIONS="-DTHREADSAFE=ON -DCMAKE_BUILD_TYPE=Release"
10 - OPTIONS="-DBUILD_CLAR=ON -DBUILD_EXAMPLES=ON"
11 - CC=i586-mingw32msvc-gcc OPTIONS="-DBUILD_CLAR=OFF -DWIN32=ON -DMINGW=ON"
13 # Make sure CMake is installed
15 - sudo apt-get install cmake
17 # Run the Build script
21 - cmake .. -DCMAKE_INSTALL_PREFIX=../_install $OPTIONS
22 - cmake --build . --target install
28 # Only watch the development branch
33 # Notify development list when needed