about summary refs log tree commit diff stats
path: root/.travis.yml
blob: ce55f33e4b8f4d87e091bdc9cc5dfdb7ef5d189f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
dist: 'xenial'

language: 'python'
jobs:
  include:
    - name: "Python 2.7 no linting"
      python: '2.7'
      env: PY2='TRUE'
    - name: "Python 3"
      python:
        - '3.5'
        - '3.6'
        - '3.7'
        - '3.8'

install:
  - 'pip install -r requirements.txt'

script:
  - 'if [ -z "${PY2}" ]; then make test; else make test_doctest test_pytest test_other; fi'