Welcome to mirror list, hosted at ThFree Co, Russian Federation.

.travis.yml - github.com/mono/libgit2sharp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b0930caa63d94988b9607191a8e31c0500e0c700 (plain)
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
33
34
# 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
 - LIBGIT2SHA=`cat ./LibGit2Sharp/libgit2_hash.txt`
 - SHORTSHA=${LIBGIT2SHA:0:7}
 - cd cmake-build
 - cmake -DTHREADSAFE=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_CLAR=OFF -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=./libgit2-bin -DSONAME_APPEND=$SHORTSHA ../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:
   - emeric.fermas@gmail.com
 email:
   on_success: change
   on_failure: always