]> git.k1024.org Git - pyxattr.git/blob - .travis.yml
Only export COVERALLS_PARALLEL in coveralls upload
[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   include:
22     - python: "3.7"
23       dist: xenial
24
25 # install coverage helper:
26 install: gem install coveralls-lcov
27
28 # the test command:
29 script:
30   - python ./setup.py test
31   - make clean
32   - CFLAGS="-coverage" python ./setup.py test
33
34 # install lcov, platform-specific but clean:
35 addons:
36   apt:
37     packages:
38       - lcov
39   homebrew:
40     packages:
41       - lcov
42
43 after_success:
44   - lcov --capture --no-external --directory . --output-file coverage.info
45   - COVERALLS_PARALLEL=true coveralls-lcov coverage.info
46   - pip install codecov
47   - codecov
48
49 notifications:
50   webhooks: https://coveralls.io/webhook