language: python branches: only: # This is where pull requests from "bors r+" are built. - staging # This is where pull requests from "bors try" are built. - trying # Build master too - master python: - "2.7" - "3.4" - "3.5" - "3.6" - "3.7" install: - if [ $TRAVIS_PYTHON_VERSION == '2.7' ] || [ $TRAVIS_PYTHON_VERSION == '3.6' ]; then pip install numpy; fi - pip install coverage coveralls script: - coverage run -p --source=pyvisa --omit="*test*","*compat*" setup.py test - coverage combine - coverage report -m after_script: - coveralls --verbose