8000 Add travis script · freevoid/libgit2sharp@c191d7e · GitHub
[go: up one dir, main page]

Skip to content

Commit c191d7e

Browse files
carlosmnnulltoken
authored andcommitted
Add travis script
1 parent e99d819 commit c191d7e

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.travis.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
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

0 commit comments

Comments
 (0)
0