{ "info": { "author": "Eldar Abusalimov", "author_email": "eldar.abusalimov@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Testing" ], "description": "==================\npytest-travis-fold\n==================\n\n`Pytest`_ plugin that folds captured output sections in Travis CI build log.\n\n.. image:: https://cloud.githubusercontent.com/assets/530396/10524841/52ecb102-738a-11e5-83ab-f3cf1b3316fb.png\n :alt: Travis CI build log view\n\nIn addition, pytest-travis-fold recognizes presence of the `pytest-cov`_ plugin\nand folds coverage reports accordingly.\n\nInstallation and Usage\n----------------------\n\nJust install the `pytest-travis-fold`_ package as part of your build.\n\nWhen using `tox`_, add the package to the ``deps`` list in your ``tox.ini``\nand make sure the ``TRAVIS`` environment variable is passed::\n\n [testenv]\n deps =\n pytest-travis-fold\n passenv = TRAVIS\n\nIf you **don't** use tox and invoke ``py.test`` directly from ``.travis.yml``,\nyou may install the package as an additional ``install`` step::\n\n install:\n - pip install -e .\n - pip install pytest-travis-fold\n\n script: py.test\n\nOutput folding is enabled automatically when running inside Travis CI. It is OK\nto have the plugin installed also in your dev environment: it is only activated\nby checking the presence of the ``TRAVIS`` environmental variable, unless the\n``--travis-fold`` command line switch is used.\n\n\nThe ``travis`` fixture\n----------------------\nThe plugin by itself only makes the captured output sections appear folded.\nIf you wish to make the same thing with arbitrary lines, you can do it manually\nby using the ``travis`` fixture.\n\nIt is possible to fold the output of a certain code block using the\n``travis.folding_output()`` context manager::\n\n\tdef test_something(travis):\n\t\twith travis.folding_output():\n\t\t\tprint('Lines, lines, lines...')\n\t\t\tprint('Lots of them!')\n\t\t\t...\n\nOr you may want to use lower-level ``travis.fold_string()`` and\n``travis.fold_lines()`` functions and then output the result as usual.\n\nContributing\n------------\nContributions are very welcome. Tests can be run with `tox`_, please ensure\nthe coverage at least stays the same before you submit a pull request.\n\nLicense\n-------\n\nDistributed under the terms of the `MIT`_ license, \"pytest-travis-fold\" is free and open source software\n\n\nIssues\n------\n\nIf you encounter any problems, please `file an issue`_ along with a detailed description.\n\n.. _pytest-travis-fold: https://pypi.python.org/pypi/pytest-travis-fold\n.. _MIT: http://opensource.org/licenses/MIT\n.. _file an issue: https://github.com/abusalimov/pytest-travis-fold/issues\n.. _Pytest: https://github.com/pytest-dev/pytest\n.. _pytest-cov: https://github.com/pytest-dev/pytest-cov\n.. _tox: https://tox.readthedocs.org/en/latest/\n.. _PyPI: https://pypi.python.org/pypi\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/abusalimov/pytest-travis-fold", "keywords": "pytest travis build logs continuous integration", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pytest-travis-fold", "package_url": "https://pypi.org/project/pytest-travis-fold/", "platform": "", "project_url": "https://pypi.org/project/pytest-travis-fold/", "project_urls": { "Homepage": "https://github.com/abusalimov/pytest-travis-fold" }, "release_url": "https://pypi.org/project/pytest-travis-fold/1.3.0/", "requires_dist": [ "pytest (>=2.6.0)" ], "requires_python": "", "summary": "Folds captured output sections in Travis CI build log", "version": "1.3.0" }, "last_serial": 3374289, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "6ea3f6b3dcd1b0e72ed7b926b83b4acf", "sha256": "c509554e438f46828eaf1f084db0b2d13030a18e194cec725c112b1a69879da7" }, "downloads": -1, "filename": "pytest_travis_fold-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "6ea3f6b3dcd1b0e72ed7b926b83b4acf", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5402, "upload_time": "2015-10-15T16:28:58", "url": "https://files.pythonhosted.org/packages/8f/b0/0f496a9cb792ac3d7cece4022fed418d959f94a81d05385953442362d54a/pytest_travis_fold-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "48aa88dfd0b555def9e736e51222c86d", "sha256": "3a26a4261a7861a6ea1eebf6d7a3a67de09a9587c1b3f0d667905a19103133f4" }, "downloads": -1, "filename": "pytest-travis-fold-0.1.0.tar.gz", "has_sig": false, "md5_digest": "48aa88dfd0b555def9e736e51222c86d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3333, "upload_time": "2015-10-15T16:29:08", "url": "https://files.pythonhosted.org/packages/91/36/7ae9595005734df506dc73459309a2dc2e85dfc65ddb0b14474355006472/pytest-travis-fold-0.1.0.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "b7c7ae837717cc9e9f290b40aeb37641", "sha256": "ab94f092c1b37c94fc23f082b4d2b34bf1577e0914020ceba09bd64bd796caf6" }, "downloads": -1, "filename": "pytest_travis_fold-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b7c7ae837717cc9e9f290b40aeb37641", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5339, "upload_time": "2015-10-15T19:20:05", "url": "https://files.pythonhosted.org/packages/98/d9/b987a2749bcba2be0d3bd8791943788d1e01914c553cfca8bee36e5c92be/pytest_travis_fold-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "79b24d8b374006c9690484453efc48c9", "sha256": "78426a694c4d0937d6b3f230cc41624fd2f34ddf2040ad3a1fb533244fef4464" }, "downloads": -1, "filename": "pytest-travis-fold-1.0.0.tar.gz", "has_sig": false, "md5_digest": "79b24d8b374006c9690484453efc48c9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3294, "upload_time": "2015-10-15T19:20:15", "url": "https://files.pythonhosted.org/packages/10/1c/e42f14e87c30af76b1fcf32626e4003ef54c844e51edc469ac5613c8f629/pytest-travis-fold-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "d0e51083ec8f1ce3f42d9e15f0a52fa8", "sha256": "35c71194c4eda77bcaf2d14c0a4affcdf41cc2bb963cef3247fd371ad5256476" }, "downloads": -1, "filename": "pytest_travis_fold-1.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d0e51083ec8f1ce3f42d9e15f0a52fa8", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 5830, "upload_time": "2015-10-18T20:20:58", "url": "https://files.pythonhosted.org/packages/c4/53/14c6b52c9bcfa3b94f27c53c198317814c9c21e49e43b161c0929fb078e0/pytest_travis_fold-1.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4d3ae81e1ffe267573d12ed3054d2a23", "sha256": "c12d4ac2ffc904e103ba361fd2c6569e34428464652e13dbb2ab83bc557a7119" }, "downloads": -1, "filename": "pytest-travis-fold-1.0.1.tar.gz", "has_sig": false, "md5_digest": "4d3ae81e1ffe267573d12ed3054d2a23", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3594, "upload_time": "2015-10-18T20:21:07", "url": "https://files.pythonhosted.org/packages/2a/1c/11b7ffc39594beeae08ce639dca285b00dc4bdd80806dc0f4990d3cc8f77/pytest-travis-fold-1.0.1.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "e4577dee680f3878011f3396ce54f942", "sha256": "48231b5d165a22e3b5db5c4914b92c0966d91963edf7dfd363f57a0108b7c401" }, "downloads": -1, "filename": "pytest_travis_fold-1.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e4577dee680f3878011f3396ce54f942", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7538, "upload_time": "2015-10-19T18:17:08", "url": "https://files.pythonhosted.org/packages/e4/31/d2269e1a223101b8c72e2ab0ccc4a964988570efb59f387af588b28011f1/pytest_travis_fold-1.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5c0e69c6d8d062703e69c38d65f83f00", "sha256": "dc560c9e73d392dc247ffc4373bea9f056ab989c05acdc0e967837803e6d6cdd" }, "downloads": -1, "filename": "pytest-travis-fold-1.1.0.tar.gz", "has_sig": false, "md5_digest": "5c0e69c6d8d062703e69c38d65f83f00", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5081, "upload_time": "2015-10-19T18:17:11", "url": "https://files.pythonhosted.org/packages/70/a2/27b800c9ded861bcce350c96b6e90356e4b6d8fe2a725c098d5491e88ad7/pytest-travis-fold-1.1.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "7ddd5e14b8d9b90bdebbfb03af68e274", "sha256": "359066de269e9869b10b52fa57ff601fde629525be9ce2d3fd47100cedb0a47d" }, "downloads": -1, "filename": "pytest_travis_fold-1.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "7ddd5e14b8d9b90bdebbfb03af68e274", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7596, "upload_time": "2015-10-26T09:56:56", "url": "https://files.pythonhosted.org/packages/a5/a1/05d54e13ba98d3ecae736dc3d9a2b802a37751cc839534e4509cc1cafe52/pytest_travis_fold-1.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "caef9c223e2acc31ceda2390195bff19", "sha256": "a91812ad1f30c0d6046f9079389b4196af7ced35332a9e48d14a4bd557d55034" }, "downloads": -1, "filename": "pytest-travis-fold-1.1.1.tar.gz", "has_sig": false, "md5_digest": "caef9c223e2acc31ceda2390195bff19", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5112, "upload_time": "2015-10-26T09:57:02", "url": "https://files.pythonhosted.org/packages/6c/6e/bb2ff2f38392cecab855ae54ec545b4f2e6637f0695db9dac6899d6499d5/pytest-travis-fold-1.1.1.tar.gz" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "31280fe67695302ddec4e70ec3164261", "sha256": "db9adfde869c9205daedd6a2c78f109ed2fa161a7d6b6bf29b5db27ac33cb0eb" }, "downloads": -1, "filename": "pytest_travis_fold-1.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "31280fe67695302ddec4e70ec3164261", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7914, "upload_time": "2015-11-04T21:43:24", "url": "https://files.pythonhosted.org/packages/12/67/64eb2839a6327886a436cb3a3e1a9a8bd9d87815c99c7ffa061d0195ae80/pytest_travis_fold-1.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "64de5d39db2d98636966cb095ab090d5", "sha256": "61edaa43c62e3b9d4367cdf8ab7743e4f0eef0bd42f6fafe383aa5d30c355873" }, "downloads": -1, "filename": "pytest-travis-fold-1.2.0.tar.gz", "has_sig": false, "md5_digest": "64de5d39db2d98636966cb095ab090d5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5404, "upload_time": "2015-11-04T21:43:32", "url": "https://files.pythonhosted.org/packages/c8/4b/20eb3551083babfba6edafa05678c78187faf9a58eeebbf5419054506dce/pytest-travis-fold-1.2.0.tar.gz" } ], "1.3.0": [ { "comment_text": "", "digests": { "md5": "ec4ba1733cc11e55175d58b01b3f6327", "sha256": "3fe15aa21ed14275e5a77814339281b3b618e350b98a43e7ac5d5bdcad8202cb" }, "downloads": -1, "filename": "pytest_travis_fold-1.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ec4ba1733cc11e55175d58b01b3f6327", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7908, "upload_time": "2017-11-29T14:29:46", "url": "https://files.pythonhosted.org/packages/70/31/6735482529a3bdab04790c6573f7d3cb0184967786302dc7c82b9d711e2f/pytest_travis_fold-1.3.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1997ab801876e61fcc5b1a5d2da15153", "sha256": "5607df571232b257be644400be559afb9148af3a27576f8080f56cee915771b2" }, "downloads": -1, "filename": "pytest-travis-fold-1.3.0.tar.gz", "has_sig": false, "md5_digest": "1997ab801876e61fcc5b1a5d2da15153", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5389, "upload_time": "2017-11-29T14:29:47", "url": "https://files.pythonhosted.org/packages/bd/92/1c808180309b97f54da216875c4f4a5504a6282c84176d1120647de68267/pytest-travis-fold-1.3.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ec4ba1733cc11e55175d58b01b3f6327", "sha256": "3fe15aa21ed14275e5a77814339281b3b618e350b98a43e7ac5d5bdcad8202cb" }, "downloads": -1, "filename": "pytest_travis_fold-1.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ec4ba1733cc11e55175d58b01b3f6327", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7908, "upload_time": "2017-11-29T14:29:46", "url": "https://files.pythonhosted.org/packages/70/31/6735482529a3bdab04790c6573f7d3cb0184967786302dc7c82b9d711e2f/pytest_travis_fold-1.3.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1997ab801876e61fcc5b1a5d2da15153", "sha256": "5607df571232b257be644400be559afb9148af3a27576f8080f56cee915771b2" }, "downloads": -1, "filename": "pytest-travis-fold-1.3.0.tar.gz", "has_sig": false, "md5_digest": "1997ab801876e61fcc5b1a5d2da15153", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5389, "upload_time": "2017-11-29T14:29:47", "url": "https://files.pythonhosted.org/packages/bd/92/1c808180309b97f54da216875c4f4a5504a6282c84176d1120647de68267/pytest-travis-fold-1.3.0.tar.gz" } ] }