]> git.proxmox.com Git - libgit2.git/blob - .travis.yml
Merge remote-tracking branch 'source/development' into update-test
[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 - CC=i586-mingw32msvc-gcc OPTIONS="-DBUILD_CLAR=OFF -DWIN32=ON -DMINGW=ON"
12
13 # Make sure CMake is installed
14 install:
15 - sudo apt-get install cmake
16
17 # Run the Build script
18 script:
19 - mkdir _build
20 - cd _build
21 - cmake .. -DCMAKE_INSTALL_PREFIX=../_install $OPTIONS
22 - cmake --build . --target install
23
24 # Run Tests
25 after_script:
26 - ctest -V .
27
28 # Only watch the development branch
29 branches:
30 only:
31 - development
32
33 # Notify development list when needed
34 notifications:
35 recipients:
36 - vicent@github.com
37 email:
38 on_success: change
39 on_failure: always