dabbad: add function to free a socket filter.
[dabba.git] / .travis.yml
blob0e4110dd2e00d3791f1bd7ffe90c9ee4f7fc5a55
1 language: c
3 # Run tests on tools compiled with gcc and clang
4 compiler:
5   - gcc
6   - clang
8 # Make sure CMake is installed on target
9 install: sudo apt-get install cmake libnl-3-dev libnl-genl-3-dev libnl-route-3-dev libcap2-bin protobuf-c-compiler libprotobuf-c0-dev python-yaml libcap2-bin
11 # Build a release version and get verbose output
12 env:
13   - TEST_OPTS="-v"
15 # Run the Build script
16 script:
17  - mkdir _build
18  - cd _build
19  - cmake .. -DCMAKE_INSTALL_PREFIX=../_install -DCMAKE_BUILD_TYPE=Release $OPTIONS
20  - sudo make install
22 # Run Tests
23 after_script:
24  - ctest --output-on-failure
26 # Only watch the master branch
27 branches:
28   only:
29     - master
31 notifications:
32   recipients:
33     - emmanuel.roullit@gmail.com
34   email:
35     on_success: change
36     on_failure: always