language: python

stages:
  - prechecks
  - tests

jobs:
  include:
    - stage: prechecks
      python: 3.6
      env: TOXENV=pylint
    - python: 3.6
      env: TOXENV=formatting
    - stage: tests
      python: 3.4
      env: TOXENV=py34
    - python: 3.5
      env: TOXENV=py35
    - python: pypy3.5-5.8.0
      env: TOXENV=pypy
    - python: 3.6
      env: TOXENV=py36
    - python: 3.7
      env: TOXENV=py37
      dist: xenial
      sudo: true

before_install:
  - python --version
  - uname -a
  - lsb_release -a
install:
  - python -m pip install pip -U
  - python -m pip install tox coverage coveralls
  - python -m virtualenv --version
  - python -m easy_install --version
  - python -m pip --version
  - python -m tox --version
script:
    # Test install with current version of setuptools
  - python -m pip install .
    # Run the tests with newest version of setuptools
  - python -m pip install -U setuptools
  - python -m tox -e coverage-erase,$TOXENV
after_success:
  - tox -e coveralls
after_failure:
  - more .tox/log/* | cat
  - more .tox/*/log/* | cat
notifications:
  email:
    on_success: always
    on_failure: always

language: python

stages:
  - prechecks
  - tests

jobs:
  include:
    #- stage: prechecks
    #  python: 3.6
    #  env: TOXENV=pylint
    - stage: prechecks
      python: 3.6
      env: TOXENV=formatting
    - stage: tests
      python: 3.4
      env: TOXENV=py34
    - python: 3.5
      env: TOXENV=py35
    - python: pypy3.5-5.8.0
      env: TOXENV=pypy
    - python: 3.6
      env: TOXENV=py36
    - python: 3.7
      env: TOXENV=py37
      dist: xenial
      sudo: true

before_install:
  - python --version
  - uname -a
  - lsb_release -a
install:
  - python -m pip install pip -U
  - python -m pip install tox coverage coveralls
  - python -m virtualenv --version
  - python -m easy_install --version
  - python -m pip --version
  - python -m tox --version
script:
    # Test install with current version of setuptools
  - python -m pip install .
    # Run the tests with newest version of setuptools
  - python -m pip install -U setuptools
  - python -m tox -e coverage-erase,$TOXENV
after_success:
  - tox -e coveralls
after_failure:
  - more .tox/log/* | cat
  - more .tox/*/log/* | cat
notifications:
  email:
    on_success: always
    on_failure: always

Disable the pylint job until we fix the clone inference bugs
Disable the pylint job until we fix the clone inference bugs
