aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
blob: 6d7912c85a05848e20cb462b7035a6d39af34e6d (plain) (blame)
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
60
61
62
63
64
65
66
67
68
69
70
jobs:
  include:
    - name: "18.04 pycodestyle and native run (py3.6)"
      os: linux
      dist: bionic
      language: shell
      install: sudo apt-get update; sudo apt install pycodestyle;
      script:
        - "pycodestyle sos"
        - "sudo ./tests/simple.sh"
    - name: "16.04 native run (py3.5)"
      os: linux
      dist: xenial
      language: shell
      script: "sudo ./tests/simple.sh"
    - name: "nosetests and travis Python 2.7"
      os: linux
      dist: bionic
      language: python
      python: "2.7"
      install: pip install -r requirements.txt; python setup.py install;
      script:
        - "nosetests -v --with-cover --cover-package=sos --cover-html"
        - "sudo ./tests/simple.sh ~/virtualenv/python$TRAVIS_PYTHON_VERSION/bin/python"
    - name: "nosetests and travis Python 3.5"
      os: linux
      dist: bionic
      language: python
      python: "3.5"
      install: pip install -r requirements.txt; python setup.py install;
      script:
        - "nosetests -v --with-cover --cover-package=sos --cover-html"
        - "sudo ./tests/simple.sh ~/virtualenv/python$TRAVIS_PYTHON_VERSION/bin/python"
    - name: "nosetests and travis Python 3.6"
      os: linux
      dist: bionic
      language: python
      python: "3.6"
      install: pip install -r requirements.txt; python setup.py install;
      script:
        - "nosetests -v --with-cover --cover-package=sos --cover-html"
        - "sudo ./tests/simple.sh ~/virtualenv/python$TRAVIS_PYTHON_VERSION/bin/python"
    - name: "nosetests and travis Python 3.7"
      os: linux
      dist: bionic
      language: python
      python: "3.7"
      install: pip install -r requirements.txt; python setup.py install;
      script:
        - "nosetests -v --with-cover --cover-package=sos --cover-html"
        - "sudo ./tests/simple.sh ~/virtualenv/python$TRAVIS_PYTHON_VERSION/bin/python"
    - name: "nosetests and travis Python 3.8"
      os: linux
      dist: bionic
      language: python
      python: "3.8"
      install: pip install -r requirements.txt; python setup.py install;
      script:
        - "nosetests -v --with-cover --cover-package=sos --cover-html"
        - "sudo ./tests/simple.sh ~/virtualenv/python$TRAVIS_PYTHON_VERSION/bin/python"

notifications:
  email:
    sos-devel@redhat.com
  irc:
    channels:
      - "us.freenode.net#sosreport"
    on_success: change
git:
  depth: 5