forked from libgit2/libgit2sharp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
32 lines (27 loc) · 790 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# 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
# Build libgit2, LibGit2Sharp and run the tests
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 ..
- xbuild CI-build.msbuild /t:Deploy
# Only watch the development branch
branches:
only:
- vNext
# Notify development list when needed
notifications:
recipients:
email:
on_success: change
on_failure: always