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