]> git.proxmox.com Git - libgit2.git/blame - .travis.yml
Fix bugs for status with spaces and reloaded attrs
[libgit2.git] / .travis.yml
CommitLineData
f9abcbdf
PD
1# Travis-CI Build for libgit2
2# see travis-ci.org for details
3
4# As CMake is not officially supported we use erlang VMs
5language: erlang
6
7# Settings to try
8env:
9 - OPTIONS="-DTHREADSAFE=ON -DCMAKE_BUILD_TYPE=Release"
62986ff6 10 - OPTIONS="-DBUILD_CLAR=ON -DBUILD_EXAMPLES=ON"
f9abcbdf
PD
11
12# Make sure CMake is installed
13install:
14 - sudo apt-get install cmake
15
16# Run the Build script
17script:
18 - mkdir _build
19 - cd _build
20 - cmake .. -DCMAKE_INSTALL_PREFIX=../_install $OPTIONS
21 - cmake --build . --target install
22
23# Run Tests
24after_script:
c2d82a65 25 - ctest -V .
f9abcbdf
PD
26
27# Only watch the development branch
28branches:
29 only:
30 - development
31
32# Notify development list when needed
33notifications:
34 recipients:
5afe95d2 35 - vicent@github.com
f9abcbdf
PD
36 email:
37 on_success: change
5afe95d2 38 on_failure: always