summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 37021e73d223d7b4c5b35e6bf6590726cba76bca (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
30
31
32
33
34
35
36
37
38
language: python

# newer python versions are available only on xenial
# (while some older only on trusty) Ubuntu distribution
dist: xenial
sudo: required

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

matrix:
  include:
  - python: 2.7
    dist: trusty
  - python: 3.4
    dist: trusty
  - python: 3.5
    dist: trusty
  - python: 3.6
  - python: 3.7

install:
  - pip install coverage
  - pip install coveralls

script:
  - python -bb -m coverage run -p --source=pyvisa-py --omit="*test*" setup.py test
  - coverage combine
  - coverage report -m

after_script:
  - coveralls --verbose