]> git.k1024.org Git - pyxattr.git/blob - .travis.yml
Travis: test on py3.7 and 3.8 too
[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 # coverage settings from here:
44 env:
45   - COVERALLS_PARALLEL=true
46
47 after_success:
48   - lcov --capture --no-external --directory . --output-file coverage.info
49   - coveralls-lcov coverage.info
50   - pip install codecov
51   - codecov
52
53 notifications:
54   webhooks: https://coveralls.io/webhook