]> git.k1024.org Git - pyxattr.git/blob - .travis.yml
Fix a docstring formatting issue
[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     - "nightly"
10
11 # enable OSX support, with only system Python, and newer Python on Linux:
12 matrix:
13   include:
14     - os: osx
15       # specify a reasonably newer xcode so that brew works
16       osx_image: xcode11
17       language: generic
18       python:
19   include:
20     - python: "3.7"
21       dist: xenial
22
23 # install coverage helper:
24 install: gem install coveralls-lcov
25
26 # the test command:
27 script:
28   - python ./setup.py test
29   - make clean
30   - CFLAGS="-coverage" python ./setup.py test
31
32 # install lcov, platform-specific but clean:
33 addons:
34   apt:
35     packages:
36       - lcov
37   homebrew:
38     packages:
39       - lcov
40
41 # coverage settings from here:
42 env:
43   - COVERALLS_PARALLEL=true
44
45 after_success:
46   - lcov --capture --no-external --directory . --output-file coverage.info
47   - coveralls-lcov coverage.info
48
49 notifications:
50   webhooks: https://coveralls.io/webhook
51