summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 6ed9954c2b156c2843644227341fb20ba9ab6dd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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