]> git.k1024.org Git - pyxattr.git/blob - .travis.yml
tests: move helper function outside the test class
[pyxattr.git] / .travis.yml
1 language: python
2
3 # let's test as many versions as we can!
4 python:
5     - "2.7"
6     - "3.4"
7     - "3.5"
8     - "3.6"
9     - "3.7"
10     - "3.8"
11     - "nightly"
12
13 # enable OSX support, with only system Python, and newer Python on Linux:
14 matrix:
15   include:
16     - os: osx
17       # specify a reasonably newer xcode so that brew works
18       osx_image: xcode11
19       language: generic
20       python:
21
22 # install coverage helper:
23 install: gem install coveralls-lcov
24
25 # the test command:
26 script:
27   - python ./setup.py test
28   - make clean
29   - CFLAGS="-coverage" python ./setup.py test
30
31 # install lcov, platform-specific but clean:
32 addons:
33   apt:
34     packages:
35       - lcov
36   homebrew:
37     packages:
38       - lcov
39
40 after_success:
41   - lcov --capture --no-external --directory . --output-file coverage.info
42   - COVERALLS_PARALLEL=true coveralls-lcov coverage.info
43   - pip install codecov
44   - codecov
45
46 notifications:
47   webhooks: https://coveralls.io/webhook