Ignore flake8 error that affects Python 2.7 only
[cached-property.git] / .travis.yml
1 # Config file for automatic testing at travis-ci.org
2 sudo: false
3 language: python
4
5 env:
6 global:
7 - CC_TEST_REPORTER_ID=56a0691204179e8edcdde4c7ecab73b3693706aa1186ed018ca78acc663520cf
8
9 before_script: # code coverage tool
10 - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
11 - chmod +x ./cc-test-reporter
12 - ./cc-test-reporter before-build
13
14 # command to run tests and save coverage
15 script:
16 - py.test --cov cached_property
17
18 after_script:
19 - coverage report -m
20 - coverage xml
21 - ./cc-test-reporter format-coverage --input-type coverage.py --debug
22 - ./cc-test-reporter upload-coverage --debug
23 python:
24 - "3.6"
25 - "3.5"
26 - "3.4"
27 - "2.7"
28 - "pypy"
29
30 matrix:
31 include:
32 - python: 3.7
33 dist: xenial
34 sudo: true
35
36 # command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
37 install: pip install -r requirements.txt