Skip to content

Commit

Permalink
Merge 809e9e9 into 0f833c6
Browse files Browse the repository at this point in the history
  • Loading branch information
sydneyli committed Jul 17, 2018
2 parents 0f833c6 + 809e9e9 commit 1792e30
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -34,7 +34,7 @@ matrix:
- python: "3.5"
env: TOXENV=mypy
- python: "2.7"
env: TOXENV='py27-{acme,apache,certbot,dns,nginx}-oldest'
env: TOXENV='py27-{acme,apache,certbot,dns,nginx,postfix}-oldest'
sudo: required
services: docker
- python: "3.4"
Expand Down
2 changes: 1 addition & 1 deletion certbot-postfix/certbot_postfix/tests/installer_test.py
Expand Up @@ -253,7 +253,7 @@ def test_deploy_twice(self, mock_util):
fake_set.reset_mock()
installer.deploy_cert("example.com", "cert_path", "key_path",
"chain_path", "fullchain_path")
fake_set.assert_not_called()
self.assertFalse(fake_set.called)

@certbot_test_util.patch_get_utility()
def test_deploy_already_secure(self, mock_util):
Expand Down
2 changes: 1 addition & 1 deletion certbot-postfix/local-oldest-requirements.txt
@@ -1,2 +1,2 @@
acme[dev]==0.25.0
certbot[dev]==0.23.0
certbot[dev]==0.26.0
2 changes: 1 addition & 1 deletion certbot-postfix/setup.py
Expand Up @@ -6,7 +6,7 @@

install_requires = [
'acme>=0.25.0',
'certbot>=0.23.0',
'certbot>=0.26.0',
'setuptools',
'six',
'zope.component',
Expand Down
6 changes: 6 additions & 0 deletions tox.ini
Expand Up @@ -108,6 +108,12 @@ commands =
setenv =
{[testenv:py27-oldest]setenv}

[testenv:py27-postfix-oldest]
commands =
{[base]install_and_test} certbot-postfix
setenv =
{[testenv:py27-oldest]setenv}

[testenv:py27_install]
basepython = python2.7
commands =
Expand Down

0 comments on commit 1792e30

Please sign in to comment.