Procházet zdrojové kódy

Added tox.ini. Removed python 2.6 and lower from supported list.

nuwan_ag před 10 roky
rodič
revize
38426482a3
2 změnil soubory, kde provedl 11 přidání a 2 odebrání
  1. 0 2
      setup.py
  2. 11 0
      tox.ini

+ 0 - 2
setup.py

@@ -19,8 +19,6 @@ setup(name='cloudbridge',
           'Operating System :: OS Independent',
           'Operating System :: OS Independent',
           'Programming Language :: Python',
           'Programming Language :: Python',
           'Topic :: Software Development :: Libraries :: Python Modules',
           'Topic :: Software Development :: Libraries :: Python Modules',
-          'Programming Language :: Python :: 2.5',
-          'Programming Language :: Python :: 2.6',
           'Programming Language :: Python :: 2.7',
           'Programming Language :: Python :: 2.7',
           'Programming Language :: Python :: 3',
           'Programming Language :: Python :: 3',
           'Programming Language :: Python :: 3.0',
           'Programming Language :: Python :: 3.0',

+ 11 - 0
tox.ini

@@ -0,0 +1,11 @@
+# Tox (http://tox.testrun.org/) is a tool for running tests
+# in multiple virtualenvs. This configuration file will run the
+# test suite on all supported python versions. To use it, "pip install tox"
+# and then run "tox" from this directory.
+
+[tox]
+envlist = py27, py32, py33, py34, py35, pypy, jython
+
+[testenv]
+commands = {envpython} setup.py test
+passenv = EC2_ACCESS_KEY EC2_SECRET_KEY OS_AUTH_URL OS_PASSWORD OS_TENANT_NAME OS_USERNAME