From cd75622df3de35898ce2ccf5c7866c2e1ef1f219 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Santos?= Date: Wed, 29 Jul 2015 11:28:38 +0200 Subject: [PATCH] https://github.com/zalando/connexion/issues/33 update setup.py and travis.yml --- .travis.yml | 2 ++ setup.py | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index cbd5ee1f0..155ba703d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,7 @@ language: python python: + - "pypy" + - "2.7" - "3.4" install: - pip install -e . diff --git a/setup.py b/setup.py index c7a6a5551..6cb670b77 100755 --- a/setup.py +++ b/setup.py @@ -6,11 +6,10 @@ from setuptools import setup, find_packages from setuptools.command.test import test as TestCommand -version = '0.7.6' +version = '0.8' class PyTest(TestCommand): - def initialize_options(self): TestCommand.initialize_options(self) self.cov = None @@ -23,6 +22,7 @@ def finalize_options(self): def run_tests(self): import pytest + errno = pytest.main(self.pytest_args) sys.exit(errno) @@ -41,6 +41,7 @@ def run_tests(self): cmdclass={'test': PyTest}, classifiers=[ 'Programming Language :: Python', + 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3.4', 'Development Status :: 4 - Beta', 'Intended Audience :: Developers',