Switch to running tests via pytest
[pylibacl.git] / .travis.yml
1 language: python
2
3 python:
4   - "2.7"
5   - "3.4"
6   - "3.5"
7   - "3.6"
8   - "3.7"
9   - "3.8"
10   - "nightly"
11
12 # we don't need any python dependencies, but a ruby one for coverage:
13 install: gem install coveralls-lcov
14
15 # the test command:
16 script:
17   - python ./setup.py test
18   - make clean
19   - CFLAGS="-coverage" python ./setup.py test
20
21 # but we do need a system library:
22 addons:
23   apt:
24     packages:
25       - libacl1-dev
26       - lcov
27
28 after_success:
29   - lcov --capture --no-external --directory . --output-file coverage.info
30   - COVERALLS_PARALLEL=true coveralls-lcov coverage.info
31   - pip install codecov
32   - codecov
33
34 notifications:
35   webhooks: https://coveralls.io/webhook