]> git.proxmox.com Git - libgit2.git/blob - .travis.yml
Merge pull request #726 from arrbee/utf16-home-dir
[libgit2.git] / .travis.yml
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
5 language: erlang
6
7 # Settings to try
8 env:
9 - OPTIONS="-DTHREADSAFE=ON -DCMAKE_BUILD_TYPE=Release"
10 - OPTIONS="-DBUILD_CLAR=ON -DBUILD_EXAMPLES=ON"
11
12 # Make sure CMake is installed
13 install:
14 - sudo apt-get install cmake
15
16 # Run the Build script
17 script:
18 - mkdir _build
19 - cd _build
20 - cmake .. -DCMAKE_INSTALL_PREFIX=../_install $OPTIONS
21 - cmake --build . --target install
22
23 # Run Tests
24 after_script:
25 - ctest -V .
26
27 # Only watch the development branch
28 branches:
29 only:
30 - development
31
32 # Notify development list when needed
33 notifications:
34 recipients:
35 - vicent@github.com
36 email:
37 on_success: change
38 on_failure: always