Permalink
Browse files

Add travis script

  • Loading branch information...
1 parent e99d819 commit c191d7edadf1a51b50e31924bb6490ee4c3bd62b @carlosmn carlosmn committed with nulltoken Jul 22, 2012
Showing with 35 additions and 0 deletions.
  1. +35 −0 .travis.yml
View
@@ -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

0 comments on commit c191d7e

Please sign in to comment.