]> git.proxmox.com Git - libgit2.git/blob - .travis.yml
clar: Disable online tests. By now.
[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: c
6
7 compiler:
8 - gcc
9 - clang
10
11 # Settings to try
12 env:
13 - OPTIONS="-DTHREADSAFE=ON -DCMAKE_BUILD_TYPE=Release"
14 - OPTIONS="-DBUILD_CLAR=ON -DBUILD_EXAMPLES=ON"
15
16 matrix:
17 include:
18 - compiler: i586-mingw32msvc-gcc
19 env: OPTIONS="-DBUILD_CLAR=OFF -DWIN32=ON -DMINGW=ON"
20
21 # Make sure CMake is installed
22 install:
23 - sudo apt-get update >/dev/null
24 - sudo apt-get -q install cmake valgrind
25
26 # Run the Build script
27 script:
28 - mkdir _build
29 - cd _build
30 - cmake .. -DCMAKE_INSTALL_PREFIX=../_install $OPTIONS
31 - cmake --build . --target install
32 - ctest -V .
33
34 # Run Tests
35 after_success:
36 - valgrind --leak-check=full --show-reachable=yes --suppressions=../libgit2_clar.supp ./libgit2_clar
37
38 # Only watch the development branch
39 branches:
40 only:
41 - development
42
43 # Notify development list when needed
44 notifications:
45 irc:
46 channels:
47 - irc.freenode.net#libgit2
48 on_success: change
49 on_failure: always
50 use_notice: true
51 skip_join: true
52 campfire:
53 on_success: always
54 on_failure: always
55 rooms:
56 - secure: "sH0dpPWMirbEe7AvLddZ2yOp8rzHalGmv0bYL/LIhVw3JDI589HCYckeLMSB\n3e/FeXw4bn0EqXWEXijVa4ijbilVY6d8oprdqMdWHEodng4KvY5vID3iZSGT\nxylhahO1XHmRynKQLOAvxlc93IlpVW38vQfby8giIY1nkpspb2w="