You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by an...@apache.org on 2017/05/02 05:12:11 UTC
[01/12] libcloud git commit: pytest configuration
Repository: libcloud
Updated Branches:
refs/heads/trunk f1962e83c -> 05f02c7af
pytest configuration
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/b5347980
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/b5347980
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/b5347980
Branch: refs/heads/trunk
Commit: b5347980a18e25551c682338b844ca37026f2b88
Parents: 13df973
Author: Anthony Shaw <an...@apache.org>
Authored: Mon Apr 24 11:41:48 2017 +1000
Committer: Anthony Shaw <an...@apache.org>
Committed: Mon Apr 24 11:41:48 2017 +1000
----------------------------------------------------------------------
pytest.ini | 3 +++
1 file changed, 3 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/b5347980/pytest.ini
----------------------------------------------------------------------
diff --git a/pytest.ini b/pytest.ini
new file mode 100644
index 0000000..7e298f6
--- /dev/null
+++ b/pytest.ini
@@ -0,0 +1,3 @@
+[pytest]
+python_classes=*Test
+testpaths=libcloud/test
[04/12] libcloud git commit: Merge branch 'lxml_toggle' into pytest
Posted by an...@apache.org.
Merge branch 'lxml_toggle' into pytest
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/959aca7f
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/959aca7f
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/959aca7f
Branch: refs/heads/trunk
Commit: 959aca7f22f584a48a2534e50f37993ca3ba79aa
Parents: e19d272 b352e50
Author: Anthony Shaw <an...@apache.org>
Authored: Mon Apr 24 12:03:52 2017 +1000
Committer: Anthony Shaw <an...@apache.org>
Committed: Mon Apr 24 12:03:52 2017 +1000
----------------------------------------------------------------------
libcloud/storage/drivers/s3.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
[06/12] libcloud git commit: switch to pytest as the main runner
Posted by an...@apache.org.
switch to pytest as the main runner
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/047b75ec
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/047b75ec
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/047b75ec
Branch: refs/heads/trunk
Commit: 047b75ecf8a2621d460b0cc4110bd4bcfc18e991
Parents: 4be01de
Author: Anthony Shaw <an...@apache.org>
Authored: Mon Apr 24 12:15:30 2017 +1000
Committer: Anthony Shaw <an...@apache.org>
Committed: Mon Apr 24 12:15:30 2017 +1000
----------------------------------------------------------------------
requirements-tests.txt | 3 ++-
tox.ini | 4 +---
2 files changed, 3 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/047b75ec/requirements-tests.txt
----------------------------------------------------------------------
diff --git a/requirements-tests.txt b/requirements-tests.txt
index 35db592..a92d325 100644
--- a/requirements-tests.txt
+++ b/requirements-tests.txt
@@ -6,4 +6,5 @@ mock>=1.0.1,<1.1
coveralls
coverage<4.0
requests
-requests_mock
\ No newline at end of file
+requests_mock
+pytest
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/libcloud/blob/047b75ec/tox.ini
----------------------------------------------------------------------
diff --git a/tox.ini b/tox.ini
index 2f8b966..e0cc15a 100644
--- a/tox.ini
+++ b/tox.ini
@@ -11,9 +11,7 @@ deps =
set-env =
COVERALLS_REPO_TOKEN = GAB5ZuovdsVEFxSIyZE8YhDYU886iGW54
commands = cp libcloud/test/secrets.py-dist libcloud/test/secrets.py
- python setup.py test
-# coverage run --source=libcloud setup.py test
-# coveralls
+ py.test
basepython =
py2.6: python2.6
{py2.7,lint,pylint,docs,coverage}: python2.7
[11/12] libcloud git commit: remove the lxml build from tox
Posted by an...@apache.org.
remove the lxml build from tox
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/ff4b9478
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/ff4b9478
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/ff4b9478
Branch: refs/heads/trunk
Commit: ff4b9478886981381e287e259d5c00d2c432716f
Parents: 13a986b
Author: Anthony Shaw <an...@apache.org>
Authored: Mon Apr 24 15:26:18 2017 +1000
Committer: Anthony Shaw <an...@apache.org>
Committed: Mon Apr 24 15:26:18 2017 +1000
----------------------------------------------------------------------
.travis.yml | 3 ++-
tox.ini | 29 -----------------------------
2 files changed, 2 insertions(+), 30 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/ff4b9478/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index 47e22f4..7577eeb 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -48,7 +48,8 @@ matrix:
# For now allow failures of all the builds which use lxml
allow_failures:
- env: ENV=coverage
- - env: ENV=pypy3
+ - env:
+ python: pypy3
# Trigger ReadTheDocs build
install:
http://git-wip-us.apache.org/repos/asf/libcloud/blob/ff4b9478/tox.ini
----------------------------------------------------------------------
diff --git a/tox.ini b/tox.ini
index 59bddf2..cef485c 100644
--- a/tox.ini
+++ b/tox.ini
@@ -27,35 +27,6 @@ whitelist_externals = cp
commands = cp libcloud/test/secrets.py-dist libcloud/test/secrets.py
python -m unittest discover libcloud/test
-# Explicitly spell out all environments to test with builtin xml and lxml,
-# as it seems I can't use the following:
-# [testenv:py{2.5,2.6,2.7,pypy,pypy3,3.2,3.3,3.4,3.5,3.6}-lxml]
-[testenv:py2.6-lxml]
-deps = -r{toxinidir}/requirements-tests.txt
- unittest2
- paramiko
- lxml
-[testenv:py2.7-lxml]
-deps = -r{toxinidir}/requirements-tests.txt
- lxml
-[testenv:pypypy-lxml]
-deps = -r{toxinidir}/requirements-tests.txt
- lxml
-[testenv:pypypy3-lxml]
-deps = -r{toxinidir}/requirements-tests.txt
- lxml
-[testenv:py3.3-lxml]
-deps = -r{toxinidir}/requirements-tests.txt
- lxml
-[testenv:py3.4-lxml]
-deps = -r{toxinidir}/requirements-tests.txt
- lxml
-[testenv:py3.5-lxml]
-deps = -r{toxinidir}/requirements-tests.txt
- lxml
-[testenv:py3.6-lxml]
-deps = -r{toxinidir}/requirements-tests.txt
- lxml
[testenv:docs]
deps = sphinx
pysphere
[03/12] libcloud git commit: fix abiquo test
Posted by an...@apache.org.
fix abiquo test
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/e19d272c
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/e19d272c
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/e19d272c
Branch: refs/heads/trunk
Commit: e19d272cf02cb7c8bdbb48ad180a9f349d93a3a8
Parents: 671d842
Author: Anthony Shaw <an...@apache.org>
Authored: Mon Apr 24 12:00:51 2017 +1000
Committer: Anthony Shaw <an...@apache.org>
Committed: Mon Apr 24 12:00:51 2017 +1000
----------------------------------------------------------------------
libcloud/test/compute/test_abiquo.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/e19d272c/libcloud/test/compute/test_abiquo.py
----------------------------------------------------------------------
diff --git a/libcloud/test/compute/test_abiquo.py b/libcloud/test/compute/test_abiquo.py
index e5452ee..62a1ceb 100644
--- a/libcloud/test/compute/test_abiquo.py
+++ b/libcloud/test/compute/test_abiquo.py
@@ -29,7 +29,7 @@ from libcloud.test import MockHttp, unittest
from libcloud.test.file_fixtures import ComputeFileFixtures
-class AbiquoNodeDriverTest(TestCaseMixin):
+class AbiquoNodeDriverTest(TestCaseMixin, unittest.TestCase):
"""
Abiquo Node Driver test suite
"""
[12/12] libcloud git commit: Merge branch 'pytest' into trunk Closes
#1041
Posted by an...@apache.org.
Merge branch 'pytest' into trunk
Closes #1041
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/05f02c7a
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/05f02c7a
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/05f02c7a
Branch: refs/heads/trunk
Commit: 05f02c7af55b9260f1be98eceeeeb28893c93797
Parents: f1962e8 ff4b947
Author: Anthony Shaw <an...@apache.org>
Authored: Tue May 2 15:11:54 2017 +1000
Committer: Anthony Shaw <an...@apache.org>
Committed: Tue May 2 15:11:54 2017 +1000
----------------------------------------------------------------------
.travis.yml | 31 +-----
libcloud/test/compute/test_abiquo.py | 2 +-
libcloud/test/compute/test_softlayer.py | 3 +-
pytest.ini | 3 +
requirements-tests.txt | 3 +-
setup.cfg | 7 ++
setup.py | 142 ++-------------------------
tox.ini | 35 +------
8 files changed, 28 insertions(+), 198 deletions(-)
----------------------------------------------------------------------
[09/12] libcloud git commit: pypy3 update
Posted by an...@apache.org.
pypy3 update
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/e7bcec60
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/e7bcec60
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/e7bcec60
Branch: refs/heads/trunk
Commit: e7bcec60157d2337dae9467184a82a2f22b8dd2b
Parents: 57f9bf8
Author: Anthony Shaw <an...@apache.org>
Authored: Mon Apr 24 15:06:10 2017 +1000
Committer: Anthony Shaw <an...@apache.org>
Committed: Mon Apr 24 15:06:10 2017 +1000
----------------------------------------------------------------------
tox.ini | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/e7bcec60/tox.ini
----------------------------------------------------------------------
diff --git a/tox.ini b/tox.ini
index bde486e..59bddf2 100644
--- a/tox.ini
+++ b/tox.ini
@@ -11,7 +11,7 @@ deps =
set-env =
COVERALLS_REPO_TOKEN = GAB5ZuovdsVEFxSIyZE8YhDYU886iGW54
commands = cp libcloud/test/secrets.py-dist libcloud/test/secrets.py
- py.test
+ python setup.py test
basepython =
py2.6: python2.6
{py2.7,lint,pylint,docs,coverage}: python2.7
@@ -23,11 +23,9 @@ basepython =
py3.6: python3.6
whitelist_externals = cp
-[testenv:pypy3]
+[testenv:pypypy3]
commands = cp libcloud/test/secrets.py-dist libcloud/test/secrets.py
python -m unittest discover libcloud/test
-basepython =
- pypypy3: pypy3
# Explicitly spell out all environments to test with builtin xml and lxml,
# as it seems I can't use the following:
[08/12] libcloud git commit: workaround for pypy3
Posted by an...@apache.org.
workaround for pypy3
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/57f9bf86
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/57f9bf86
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/57f9bf86
Branch: refs/heads/trunk
Commit: 57f9bf861afe3b2f626cf1ae7ddc8131adda0ba0
Parents: b4ce936
Author: Anthony Shaw <an...@apache.org>
Authored: Mon Apr 24 14:35:22 2017 +1000
Committer: Anthony Shaw <an...@apache.org>
Committed: Mon Apr 24 14:35:22 2017 +1000
----------------------------------------------------------------------
tox.ini | 6 ++++++
1 file changed, 6 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/57f9bf86/tox.ini
----------------------------------------------------------------------
diff --git a/tox.ini b/tox.ini
index e0cc15a..bde486e 100644
--- a/tox.ini
+++ b/tox.ini
@@ -23,6 +23,12 @@ basepython =
py3.6: python3.6
whitelist_externals = cp
+[testenv:pypy3]
+commands = cp libcloud/test/secrets.py-dist libcloud/test/secrets.py
+ python -m unittest discover libcloud/test
+basepython =
+ pypypy3: pypy3
+
# Explicitly spell out all environments to test with builtin xml and lxml,
# as it seems I can't use the following:
# [testenv:py{2.5,2.6,2.7,pypy,pypy3,3.2,3.3,3.4,3.5,3.6}-lxml]
[05/12] libcloud git commit: skip softlayer failure
Posted by an...@apache.org.
skip softlayer failure
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/4be01dea
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/4be01dea
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/4be01dea
Branch: refs/heads/trunk
Commit: 4be01dea889f525fb83405365318d663bf6788f1
Parents: 959aca7
Author: Anthony Shaw <an...@apache.org>
Authored: Mon Apr 24 12:15:12 2017 +1000
Committer: Anthony Shaw <an...@apache.org>
Committed: Mon Apr 24 12:15:12 2017 +1000
----------------------------------------------------------------------
libcloud/test/compute/test_softlayer.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/4be01dea/libcloud/test/compute/test_softlayer.py
----------------------------------------------------------------------
diff --git a/libcloud/test/compute/test_softlayer.py b/libcloud/test/compute/test_softlayer.py
index b3ebcb6..72de0df 100644
--- a/libcloud/test/compute/test_softlayer.py
+++ b/libcloud/test/compute/test_softlayer.py
@@ -15,7 +15,7 @@
import unittest
import sys
-
+import pytest
try:
import Crypto
Crypto
@@ -158,6 +158,7 @@ class SoftLayerTests(unittest.TestCase):
self.assertRaises(KeyPairDoesNotExistError, self.driver.get_key_pair,
name='test-key-pair')
+ @pytest.mark.skip(reason="no way of currently testing this")
def test_create_key_pair(self):
if crypto:
key_pair = self.driver.create_key_pair(name='my-key-pair')
[02/12] libcloud git commit: Merge branch 'lxml_toggle' into pytest
Posted by an...@apache.org.
Merge branch 'lxml_toggle' into pytest
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/671d842e
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/671d842e
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/671d842e
Branch: refs/heads/trunk
Commit: 671d842e83586acbdd85a3ab50fe54084c7bb6b6
Parents: b534798 0e61f16
Author: Anthony Shaw <an...@apache.org>
Authored: Mon Apr 24 11:44:00 2017 +1000
Committer: Anthony Shaw <an...@apache.org>
Committed: Mon Apr 24 11:44:00 2017 +1000
----------------------------------------------------------------------
libcloud/storage/drivers/s3.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
[07/12] libcloud git commit: move setuptools to pytest
Posted by an...@apache.org.
move setuptools to pytest
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/b4ce9367
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/b4ce9367
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/b4ce9367
Branch: refs/heads/trunk
Commit: b4ce9367f58d5b702b4efad5b3188791071a86e6
Parents: 047b75e
Author: Anthony Shaw <an...@apache.org>
Authored: Mon Apr 24 14:06:45 2017 +1000
Committer: Anthony Shaw <an...@apache.org>
Committed: Mon Apr 24 14:06:45 2017 +1000
----------------------------------------------------------------------
setup.cfg | 7 +++
setup.py | 142 +++------------------------------------------------------
2 files changed, 13 insertions(+), 136 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/b4ce9367/setup.cfg
----------------------------------------------------------------------
diff --git a/setup.cfg b/setup.cfg
index bcb0348..eeb81dc 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -3,3 +3,10 @@ universal = 1
[nosetests]
exclude=TestCaseMixin
+
+[aliases]
+test=pytest
+
+[tool:pytest]
+python_classes=*Test
+testpaths=libcloud/test
http://git-wip-us.apache.org/repos/asf/libcloud/blob/b4ce9367/setup.py
----------------------------------------------------------------------
diff --git a/setup.py b/setup.py
index 1e05352..218f4f8 100644
--- a/setup.py
+++ b/setup.py
@@ -14,13 +14,10 @@
# limitations under the License.
import os
import sys
-import doctest
from setuptools import setup
from distutils.core import Command
-from unittest import TextTestRunner, TestLoader
-from glob import glob
-from os.path import splitext, basename, join as pjoin
+from os.path import join as pjoin
try:
import epydoc # NOQA
@@ -61,7 +58,9 @@ SUPPORTED_VERSIONS = ['2.6', '2.7', 'PyPy', '3.x']
TEST_REQUIREMENTS = [
'mock',
- 'requests'
+ 'requests',
+ 'pytest',
+ 'pytest-runner'
]
if PY2_pre_279 or PY3_pre_32:
@@ -99,113 +98,6 @@ def forbid_publish():
sys.exit(1)
-class TestCommand(Command):
- description = "run test suite"
- user_options = []
- unittest_TestLoader = TestLoader
- unittest_TextTestRunner = TextTestRunner
-
- def initialize_options(self):
- THIS_DIR = os.path.abspath(os.path.split(__file__)[0])
- sys.path.insert(0, THIS_DIR)
- for test_path in TEST_PATHS:
- sys.path.insert(0, pjoin(THIS_DIR, test_path))
- self._dir = os.getcwd()
-
- def finalize_options(self):
- pass
-
- def run(self):
- for module_name in TEST_REQUIREMENTS:
- try:
- __import__(module_name)
- except ImportError:
- print('Missing "%s" library. %s is library is needed '
- 'to run the tests. You can install it using pip: '
- 'pip install %s' % (module_name, module_name,
- module_name))
- sys.exit(1)
-
- if unittest2_required:
- try:
- from unittest2 import TextTestRunner, TestLoader
- self.unittest_TestLoader = TestLoader
- self.unittest_TextTestRunner = TextTestRunner
- except ImportError:
- print('Python version: %s' % (sys.version))
- print('Missing "unittest2" library. unittest2 is library is '
- 'needed to run the tests. You can install it using pip: '
- 'pip install unittest2')
- sys.exit(1)
-
- status = self._run_tests()
- sys.exit(status)
-
- def _run_tests(self):
- secrets_current = pjoin(self._dir, 'libcloud/test', 'secrets.py')
- secrets_dist = pjoin(self._dir, 'libcloud/test', 'secrets.py-dist')
-
- if not os.path.isfile(secrets_current):
- print("Missing " + secrets_current)
- print("Maybe you forgot to copy it from -dist:")
- print("cp libcloud/test/secrets.py-dist libcloud/test/secrets.py")
- sys.exit(1)
-
- mtime_current = os.path.getmtime(secrets_current)
- mtime_dist = os.path.getmtime(secrets_dist)
-
- if mtime_dist > mtime_current:
- print("It looks like test/secrets.py file is out of date.")
- print("Please copy the new secrets.py-dist file over otherwise" +
- " tests might fail")
-
- if PY2_pre_26:
- missing = []
- # test for dependencies
- try:
- import simplejson
- simplejson # silence pyflakes
- except ImportError:
- missing.append("simplejson")
-
- try:
- import ssl
- ssl # silence pyflakes
- except ImportError:
- missing.append("ssl")
-
- if missing:
- print("Missing dependencies: " + ", ".join(missing))
- sys.exit(1)
-
- testfiles = []
- for test_path in TEST_PATHS:
- for t in glob(pjoin(self._dir, test_path, 'test_*.py')):
- testfiles.append('.'.join(
- [test_path.replace('/', '.'), splitext(basename(t))[0]]))
-
- # Test loader simply throws "'module' object has no attribute" error
- # if there is an issue with the test module so we manually try to
- # import each module so we get a better and more friendly error message
- for test_file in testfiles:
- try:
- __import__(test_file)
- except Exception:
- e = sys.exc_info()[1]
- print('Failed to import test module "%s": %s' % (test_file,
- str(e)))
- raise e
-
- tests = self.unittest_TestLoader().loadTestsFromNames(testfiles)
-
- for test_module in DOC_TEST_MODULES:
- tests.addTests(doctest.DocTestSuite(test_module))
-
- t = self.unittest_TextTestRunner(verbosity=2)
- res = t.run(tests)
- return not res.wasSuccessful()
-
-
class ApiDocsCommand(Command):
description = "generate API documentation"
user_options = []
@@ -231,28 +123,6 @@ class ApiDocsCommand(Command):
% (HTML_VIEWSOURCE_BASE, PROJECT_BASE_DIR))
-class CoverageCommand(Command):
- description = "run test suite and generate coverage report"
- user_options = []
-
- def initialize_options(self):
- pass
-
- def finalize_options(self):
- pass
-
- def run(self):
- import coverage
- cov = coverage.coverage(config_file='.coveragerc')
- cov.start()
-
- tc = TestCommand(self.distribution)
- tc._run_tests()
-
- cov.stop()
- cov.save()
- cov.html_report()
-
forbid_publish()
install_requires = ['requests']
@@ -278,10 +148,10 @@ setup(
package_data={'libcloud': get_data_files('libcloud', parent='libcloud')},
license='Apache License (2.0)',
url='http://libcloud.apache.org/',
+ setup_requires=['pytest-runner'],
+ tests_require=TEST_REQUIREMENTS,
cmdclass={
- 'test': TestCommand,
'apidocs': ApiDocsCommand,
- 'coverage': CoverageCommand
},
zip_safe=False,
classifiers=[
[10/12] libcloud git commit: remove the lxml builds because they
never worked, allow pypy3 to fail (for now)
Posted by an...@apache.org.
remove the lxml builds because they never worked, allow pypy3 to fail (for now)
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/13a986b3
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/13a986b3
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/13a986b3
Branch: refs/heads/trunk
Commit: 13a986b3fabcdb823036e9c13714ced958d67f64
Parents: e7bcec6
Author: Anthony Shaw <an...@apache.org>
Authored: Mon Apr 24 15:19:50 2017 +1000
Committer: Anthony Shaw <an...@apache.org>
Committed: Mon Apr 24 15:19:50 2017 +1000
----------------------------------------------------------------------
.travis.yml | 30 ++----------------------------
1 file changed, 2 insertions(+), 28 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/13a986b3/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index 20559bf..47e22f4 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -23,27 +23,6 @@ addons:
matrix:
fast_finish: true
include:
- - env: ENV=2.6-lxml
- python: 2.6
- before_script: TOX_ENV=py2.6-lxml
- - env: ENV=2.7-lxml
- python: 2.7
- before_script: TOX_ENV=py2.7-lxml
- - env: ENV=3.3-lxml
- python: 3.3
- before_script: TOX_ENV=py3.3-lxml
- - env: ENV=3.4-lxml
- python: 3.4
- before_script: TOX_ENV=py3.4-lxml
- - env: ENV=3.5-lxml
- python: 3.5
- before_script: TOX_ENV=py3.5-lxml
- - env: ENV=pypy-lxml
- python: pypy
- before_script: TOX_ENV=pypypy-lxml
- - env: ENV=pypy3-lxml
- python: pypy3
- before_script: TOX_ENV=pypypy3-lxml
- env: ENV=lint
python: 2.7
before_script: TOX_ENV=lint
@@ -68,13 +47,8 @@ matrix:
- ./contrib/trigger_rtd_build.py 8284
# For now allow failures of all the builds which use lxml
allow_failures:
- - env: ENV=2.6-lxml
- - env: ENV=2.7-lxml
- - env: ENV=pypy-lxml
- - env: ENV=pypy3-lxml
- - env: ENV=3.3-lxml
- - env: ENV=3.4-lxml
- - env: ENV=3.5-lxml
+ - env: ENV=coverage
+ - env: ENV=pypy3
# Trigger ReadTheDocs build
install: