summaryrefslogtreecommitdiffstats
path: root/.travis.yml
blob: 7078efdc22d1e10abf420d2b6429ba3441280bfc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
sudo: false
language: python

matrix:
  include:
    - python: 3.6
    - python: 3.5
    - python: 3.4
    - python: 3.3
    - python: 2.7
    - python: 2.6
    - python: nightly
    - python: pypy
    - python: pypy3

install:
  - pip install . pytest coverage codecov flake8
  - pip list

script:
  - echo "$TRAVIS_PYTHON_VERSION"
  - if [ "$TRAVIS_PYTHON_VERSION" != "2.6" ]; then flake8 prompt_toolkit; fi
  - coverage run -m pytest

after_success:
  - codecov