summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: f67d0a1d7337dc2c8d2c0d1c53294cd7a7f6f6ee (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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
language: python
cache: pip
matrix:
  include:
  - os: linux
    dist: xenial
    sudo: false
    python: '2.6'
  - os: linux
    dist: xenial
    sudo: false
    python: '2.7'
  - os: linux
    dist: xenial
    sudo: false
    python: '3.2'
  - os: linux
    dist: xenial
    sudo: false
    python: '3.3'
  - os: linux
    dist: xenial
    sudo: false
    python: '3.4'
  - os: linux
    dist: xenial
    sudo: false
    python: '3.5'
  - os: linux
    dist: xenial
    sudo: false
    python: '3.6'
  - os: linux
    dist: xenial
    sudo: true
    python: '3.7'
  - os: linux
    dist: xenial
    sudo: false
    python: 'nightly'
#  - os: linux
#    dist: xenial
#    sudo: false
#    python: 'pypy'
#  - os: linux
#    dist: xenial
#    sudo: false
#    python: 'pypy3'
install:
  - pip install codecov
  - pip install -r requirements.txt -r devel-requirements.txt
  - pip install -e .
  - pip install pysnmp-mibs
script:
  - PYTHONPATH=.:$PYTHONPATH python tests/__main__.py
  - travis_wait 20 sh runtests.sh
after_success:
  - PYTHONPATH=.:$PYTHONPATH coverage run --omit=*test* tests/__main__.py
  - codecov