From c191d7edadf1a51b50e31924bb6490ee4c3bd62b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn=20Nieto?= Date: Sun, 22 Jul 2012 12:03:23 +0200 Subject: [PATCH] Add travis script --- .travis.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..c11ec6b9 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,35 @@ +# Travis-CI Build for libgit2sharp +# see travis-ci.org for details + +language: c + +# Make sure CMake is installed +install: + - sudo apt-get install cmake mono-devel mono-gmcs + +# Run the Build script +script: + - git submodule update --init + - mkdir cmake-build + - cd cmake-build + - cmake -DTHREADSAFE=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_CLAR=OFF -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=./libgit2-bin ../libgit2 + - export LD_LIBRARY_PATH=$PWD/libgit2-bin/lib + - cmake --build . --target install + - cd .. + +# Run Tests +after_script: + - xbuild CI-build.msbuild /t:Deploy + +# Only watch the development branch +branches: + only: + - vNext + +# Notify development list when needed +notifications: + recipients: + - emeric.fermas@gmail.com + email: + on_success: change + on_failure: always