]> git.k1024.org Git - pylibacl.git/blob - .travis.yml
Raise better error message on un-owned but valid Entry deletion
[pylibacl.git] / .travis.yml
1 language: python
2
3 # enable caching of installed packages.
4 cache: pip
5
6 python:
7   - "3.4"
8   - "3.5"
9   - "3.6"
10   - "3.7"
11   - "3.8"
12   - "nightly"
13
14 # we don't need any python dependencies, but a ruby one for coverage:
15 install:
16   - gem install coveralls-lcov
17   - pip install pytest
18   - pip install codecov
19
20 # the test command:
21 script:
22   - python setup.py build_ext -i
23   - python -m pytest tests
24   - make clean
25   - CFLAGS="-coverage" python setup.py build_ext -i
26   - python -m pytest tests
27
28 # but we do need a system library:
29 addons:
30   apt:
31     packages:
32       - libacl1-dev
33       - lcov
34
35 after_success:
36   - lcov --capture --no-external --directory . --output-file coverage.info
37   - COVERALLS_PARALLEL=true coveralls-lcov coverage.info
38   - codecov
39
40 notifications:
41   webhooks: https://coveralls.io/webhook