From 17c4e157e7de0e8794eb39493ee0349182f7bb6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauri=20V=C3=B5sandi?= Date: Mon, 8 May 2017 10:27:02 +0000 Subject: [PATCH] tests: Attempt to build for trusty and xenial both --- .travis.yml | 4 +++- certidude/cli.py | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 149c3b8..59983ef 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,8 @@ sudo: required language: python -dist: trusty +dist: + - trusty + - xenial python: - "2.7" after_success: diff --git a/certidude/cli.py b/certidude/cli.py index b065460..9075ee9 100755 --- a/certidude/cli.py +++ b/certidude/cli.py @@ -730,8 +730,8 @@ def certidude_setup_authority(username, kerberos_keytab, nginx_config, country, # Install only rarely changing stuff from OS package management apt("python-setproctitle cython python-dev libkrb5-dev libffi-dev libssl-dev") apt("python-mimeparse python-markdown python-xattr python-jinja2 python-cffi") - apt("python-ldap python-openssl software-properties-common libsasl2-modules-gssapi-mit") - pip("gssapi falcon cryptography humanize ipaddress simplepam humanize requests") + apt("python-ldap software-properties-common libsasl2-modules-gssapi-mit") + pip("gssapi falcon cryptography humanize ipaddress simplepam humanize requests pyopenssl") click.echo("Software dependencies installed") if not os.path.exists("/etc/apt/sources.list.d/nginx-stable-trusty.list"):