]> git.k1024.org Git - pylibacl.git/blob - .travis.yml
Update Travis config to export coverage information
[pylibacl.git] / .travis.yml
1 language: python
2
3 python:
4   - "2.7"
5   - "3.4"
6   - "3.5"
7   - "3.6"
8   - "nightly"
9
10 matrix:
11   include:
12     - python: "3.7"
13       dist: xenial
14
15 # we don't need any python dependencies, but a ruby one for coverage:
16 install: gem install coveralls-lcov
17
18 # the test command:
19 script:
20   - python ./setup.py test
21   - make clean
22   - CFLAGS="-coverage" python ./setup.py test
23
24 # but we do need a system library:
25 addons:
26   apt:
27     packages:
28       - libacl1-dev
29       - lcov
30
31 # coverage settings from here:
32
33 env:
34   - COVERALLS_PARALLEL=true
35
36 after_success:
37   - lcov --capture --no-external --directory . --output-file coverage.info
38   - coveralls-lcov coverage.info
39
40 notifications:
41   webhooks: https://coveralls.io/webhook