]> git.k1024.org Git - pylibacl.git/blob - .travis.yml
Run local tests with Py3.9 too
[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   - "3.9-dev"
13   - "nightly"
14
15 # we don't need any python dependencies, but a ruby one for coverage:
16 install:
17   - gem install coveralls-lcov
18   - pip install pytest
19   - pip install codecov
20
21 # the test command:
22 script:
23   - python setup.py build_ext -i
24   - python -m pytest tests
25   - make clean
26   - CFLAGS="-coverage" python setup.py build_ext -i
27   - python -m pytest tests
28
29 # but we do need a system library:
30 addons:
31   apt:
32     packages:
33       - libacl1-dev
34       - lcov
35
36 after_success:
37   - lcov --capture --no-external --directory . --output-file coverage.info
38   - COVERALLS_PARALLEL=true coveralls-lcov coverage.info
39   - codecov
40
41 notifications:
42   webhooks: https://coveralls.io/webhook