Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 36 lines (29 sloc) 0.792 kb
c191d7e @carlosmn Add travis script
carlosmn authored
1 # Travis-CI Build for libgit2sharp
2 # see travis-ci.org for details
3
4 language: c
5
6 # Make sure CMake is installed
7 install:
8 - sudo apt-get install cmake mono-devel mono-gmcs
9
10 # Run the Build script
11 script:
12 - git submodule update --init
13 - mkdir cmake-build
14 - cd cmake-build
15 - cmake -DTHREADSAFE=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_CLAR=OFF -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=./libgit2-bin ../libgit2
16 - export LD_LIBRARY_PATH=$PWD/libgit2-bin/lib
17 - cmake --build . --target install
18 - cd ..
19
20 # Run Tests
21 after_script:
22 - xbuild CI-build.msbuild /t:Deploy
23
24 # Only watch the development branch
25 branches:
26 only:
27 - vNext
28
29 # Notify development list when needed
30 notifications:
31 recipients:
32 - emeric.fermas@gmail.com
33 email:
34 on_success: change
35 on_failure: always
Something went wrong with that request. Please try again.