Permalink
Browse files

Don't run end-to-end tests in coverage and docs builds

  • Loading branch information...
mnaberez committed Feb 7, 2018
1 parent 5b35ddf commit bf4397c91b1b3028786ee05baf428f0f932bf2bf
Showing with 19 additions and 10 deletions.
  1. +12 −8 .travis.yml
  2. +6 −2 supervisor/tests/test_end_to_end.py
  3. +1 −0 tox.ini
@@ -2,10 +2,6 @@ language: python
sudo: false
env:
global:
- END_TO_END=1
matrix:
include:
- python: 2.7
@@ -15,13 +11,21 @@ matrix:
- python: 3.6
env: TOXENV=docs
- python: 2.7
env: TOXENV=py27
env:
- TOXENV=py27
- END_TO_END=1
- python: 3.4
env: TOXENV=py34
env:
- TOXENV=py34
- END_TO_END=1
- python: 3.5
env: TOXENV=py35
env:
- TOXENV=py35
- END_TO_END=1
- python: 3.6
env: TOXENV=py36
env:
- TOXENV=py36
- END_TO_END=1
install:
- travis_retry pip install virtualenv tox pexpect
@@ -18,7 +18,7 @@
BaseTestCase = object
class TestEndToEnd(BaseTestCase):
class EndToEndTests(BaseTestCase):
def test_issue_565(self):
filename = pkg_resources.resource_filename(__name__, 'fixtures/issue-565.conf')
@@ -129,5 +129,9 @@ def test_issue_1054(self):
seen = False
self.assertTrue(seen)
def test_suite():
return unittest.findTestCases(sys.modules[__name__])
if __name__ == '__main__':
unittest.main()
unittest.main(defaultTest='test_suite')
@@ -8,6 +8,7 @@ deps =
pytest
pexpect
mock >= 0.5.0
passenv = END_TO_END
commands =
py.test {posargs}

0 comments on commit bf4397c

Please sign in to comment.