language: python
python:
  - "2.7"

virtualenv:
  system_site_packages: true

before_install:
    - export VERSION="8.0"

install:
  #- git clone https://github.com/OCA/maintainer-quality-tools.git $HOME/maintainer-quality-tools
  - cp -r ../maintainer-quality-tools/ $HOME  # for maintainer-quality-tools self tests only
  - export PATH=$HOME/maintainer-quality-tools/travis:$PATH
  - travis_install_nightly $VERSION
  - $HOME/maintainer-quality-tools/travis/travis_install_nightly ${VERSION}
  - pip install coveralls flake8

script:
  - travis_run_flake8
  - travis_run_tests ${VERSION}

after_success:
  coveralls

language: python
python:
  - "2.7"

virtualenv:
  system_site_packages: true

env:
  - VERSION="8.0"
  - VERSION="7.0"

install:
  #- git clone https://github.com/OCA/maintainer-quality-tools.git $HOME/maintainer-quality-tools
  - cp -r ../maintainer-quality-tools/ $HOME  # for maintainer-quality-tools self tests only
  - export PATH=$HOME/maintainer-quality-tools/travis:$PATH
  - travis_install_nightly $VERSION
  - $HOME/maintainer-quality-tools/travis/travis_install_nightly ${VERSION}
  - pip install coveralls flake8

script:
  - travis_run_flake8
  - travis_run_tests ${VERSION}

after_success:
  coveralls

Test both >= 8.0 and <= 7.0 cases
Test both >= 8.0 and <= 7.0 cases
