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'