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