# WARNING:
# Do not use this file as a template for you repository TravisCI configuration
# Instead use the files under the "/sample_files" directory for that purpose.

language: python

python:
  - "2.7"

virtualenv:
  system_site_packages: true

env:
  - VERSION="master"
  - VERSION="8.0"
  - VERSION="7.0"
  - VERSION="6.1"
  # - VERSION="6.0"  # Test script not ready for v6.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

# WARNING:
# Do not use this file as a template for you repository TravisCI configuration
# Instead use the files under the "/sample_files" directory for that purpose.

language: python

python:
  - "2.7"

virtualenv:
  system_site_packages: true

env:
  - VERSION="master"
  - VERSION="8.0"
  - VERSION="7.0"
  - VERSION="6.1"
  # - VERSION="6.0"  # Test script not ready for v6.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
  - pip install coveralls flake8

script:
  - travis_run_flake8
  - travis_run_tests ${VERSION}

after_success:
  coveralls

Remove duplicate call to install script
Remove duplicate call to install script
