{ "info": { "author": "Jakub Stasiak", "author_email": "jakub@stasiak.at", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: MacOS :: MacOS X", "Operating System :: POSIX", "Operating System :: POSIX :: Linux", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Testing", "Topic :: Utilities" ], "description": "travis-solo\r\n===========\r\n\r\n.. image:: https://travis-ci.org/jstasiak/travis-solo.png?branch=master\r\n :alt: Build status\r\n :target: https://travis-ci.org/jstasiak/travis-solo\r\n\r\n*travis-solo* is local Travis build runner. *travis-solo* is itself written in Python and works with:\r\n\r\n* CPython 2.x >= 2.6, 3.x >= 3.2\r\n* PyPy 1.9+\r\n\r\nSupported operating systems:\r\n\r\n* GNU/Linux\r\n* OS X\r\n\r\nUsage\r\n-----\r\n\r\nExecute *travis-solo* in directory containing ``.travis.yml`` configuration file. It's return code will be 0 in case of success and non-zero in case of failure.\r\n\r\n``travis-solo -h`` or ``travis-solo --help`` will display usage information.\r\n\r\nExample ``.travis.yml`` file::\r\n\r\n language: python\r\n python:\r\n - \"2.7\"\r\n install:\r\n - sudo this won't be executed anyway\r\n env:\r\n - VAR=foo\r\n - VAR=bar\r\n matrix:\r\n include:\r\n - python: \"2.7\"\r\n env: VAR=baz\r\n\r\n script: echo \"VAR is $VAR\"\r\n\r\nOutput::\r\n\r\n -> % travis-solo \r\n\r\n\r\n Build configuration python2.7 (VAR=u'foo') running\r\n Preparing the environment\r\n $ virtualenv --distribute --python=python2.7 /Users/aa/projects/travis-solo/.travis-solo/2.7\r\n Running virtualenv with interpreter /usr/local/bin/python2.7\r\n New python executable in /Users/aa/projects/travis-solo/.travis-solo/2.7/bin/python\r\n Installing distribute...........................................................................................................................................................................................................................done.\r\n Installing pip................done.\r\n \"sudo this won't be executed anyway\" ignored because it contains sudo reference\r\n $ echo \"VAR is $VAR\"\r\n VAR is foo\r\n\r\n\r\n Build configuration python2.7 (VAR=u'bar') running\r\n Preparing the environment\r\n \"sudo this won't be executed anyway\" ignored because it contains sudo reference\r\n $ echo \"VAR is $VAR\"\r\n VAR is bar\r\n\r\n\r\n Build configuration python2.7 (VAR=u'baz') running\r\n Preparing the environment\r\n \"sudo this won't be executed anyway\" ignored because it contains sudo reference\r\n $ echo \"VAR is $VAR\"\r\n VAR is baz\r\n\r\n\r\n Build summary:\r\n python2.7 (VAR=u'foo'): Build succeeded\r\n python2.7 (VAR=u'bar'): Build succeeded\r\n python2.7 (VAR=u'baz'): Build succeeded\r\n\r\n -> % echo $?\r\n 0\r\n\r\n**travis-solo can of course run tests for itself**.\r\n\r\nRestrictions\r\n------------\r\n\r\nFirst of all you need to remember that your local environment is probably very different than Travis' so all those ``apt-get`` calls may not work as intended.\r\n\r\n* The only type of project supported right now is Python.\r\n* Supported configuration properties:\r\n\r\n * ``before_install``\r\n * ``install``\r\n * ``before_script``\r\n * ``script``\r\n * ``after_script``\r\n * ``python``\r\n * ``matrix``\r\n * ``env``\r\n* ``travis-solo`` sets the following environmental variables:\r\n\r\n * ``TRAVIS=true``\r\n * ``CI=true``\r\n * ``TRAVIS_SOLO=true``\r\n * ``TRAVIS_PYTHON_VERSION=...`` depending on configuration\r\n* Commands involving ``sudo`` word are silently discarded at the moment\r\n* When running parallel builds (``--jobs X`` where X != 1) you need to make sure that builds don't operate on the same project files at the same time.\r\n\r\n For example: Python package build process can use ``build`` directory to store the results. There is a workaround for that (borrowed from https://github.com/hhatto/autopep8/commit/1c895989422b0a02a32a4383a3f0467b44f20663) - change\r\n \r\n python setup.py install # or similar\r\n \r\n to\r\n \r\n python setup.py build --build-base=\".build-$TRAVIS_PYTHON_VERSION\" install\r\n \r\n This change will make sure that each build environment will operate in separate build directory as far as building your package is concerned.\r\n\r\n\r\nCopyright\r\n---------\r\n\r\nCopyright (C) 2013 Jakub Stasiak\r\n\r\nThis source code is licensed under MIT license, see LICENSE file for details.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jstasiak/travis-solo", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "travis-solo", "package_url": "https://pypi.org/project/travis-solo/", "platform": "unix,linux,osx", "project_url": "https://pypi.org/project/travis-solo/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/jstasiak/travis-solo" }, "release_url": "https://pypi.org/project/travis-solo/0.0.9/", "requires_dist": null, "requires_python": null, "summary": "Local Travis build runner", "version": "0.0.9" }, "last_serial": 958137, "releases": { "0.0.2": [ { "comment_text": "", "digests": { "md5": "861c2160b015d0858e3091f663e6612f", "sha256": "da76e4b17d5267d6331f54200b08c50ca8996036fe9a00ff4788899063b6808e" }, "downloads": -1, "filename": "travis-solo-0.0.2.tar.gz", "has_sig": false, "md5_digest": "861c2160b015d0858e3091f663e6612f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4510, "upload_time": "2013-04-10T10:09:03", "url": "https://files.pythonhosted.org/packages/d9/44/060e48ae68d7d0ebf84962353c2c1704d21085eaa4602bd931da80c874ed/travis-solo-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "c4a9172358aba05e754807e323e2c9c6", "sha256": "cd38c50a41aa5c038e0c75e3f63fbf214d23369015769afbe650dd24f0007e07" }, "downloads": -1, "filename": "travis-solo-0.0.3.tar.gz", "has_sig": false, "md5_digest": "c4a9172358aba05e754807e323e2c9c6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5835, "upload_time": "2013-04-12T09:25:13", "url": "https://files.pythonhosted.org/packages/ae/f3/184315a7a80108766806a22a7bc640d16ad6b600c0a3967b0d6f631f4b0f/travis-solo-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "da3bd5fb980dc82979ac710ae3c75521", "sha256": "90cebef4d980dbbeb60356e10a07831aa08315872e8e897d993371bc5782c98b" }, "downloads": -1, "filename": "travis-solo-0.0.4.tar.gz", "has_sig": false, "md5_digest": "da3bd5fb980dc82979ac710ae3c75521", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6568, "upload_time": "2013-04-22T22:38:50", "url": "https://files.pythonhosted.org/packages/ea/7f/368a5381d83691a7fe56fcbc87a13ccbc11a1869546d48a2057fda0346cf/travis-solo-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "c56843234166e9fdce4fe854046e1ff0", "sha256": "faec58ca63f9fcd601cf6d3ea75e6b5fd691fc9c97deaa1e112960b4468e685f" }, "downloads": -1, "filename": "travis-solo-0.0.5.tar.gz", "has_sig": false, "md5_digest": "c56843234166e9fdce4fe854046e1ff0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6577, "upload_time": "2013-04-23T07:12:29", "url": "https://files.pythonhosted.org/packages/a3/e3/aaab5cf9c744932b5d03076c98220d17504f46c1596bfde06dc85bd64f81/travis-solo-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "e76ca5868ad97cd97c2542f19c23f868", "sha256": "0568f63ab0b57b2d6e77da028ffb035aac0ca1ca681fb4ab1b64b40bfb8dc3b6" }, "downloads": -1, "filename": "travis-solo-0.0.6.tar.gz", "has_sig": false, "md5_digest": "e76ca5868ad97cd97c2542f19c23f868", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6810, "upload_time": "2013-05-02T07:21:06", "url": "https://files.pythonhosted.org/packages/d0/2e/e22fdacdf29a4eb1475c19c5ec1724f4058c317e14c8d63baa0d39256595/travis-solo-0.0.6.tar.gz" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "fdd7e3ea5c5b33dc9fc90e8a7a84d555", "sha256": "f0de9a73e1d0a1973065c44058f7ad93742c1af4568013e6755e52e0b7c9c96c" }, "downloads": -1, "filename": "travis-solo-0.0.7.tar.gz", "has_sig": false, "md5_digest": "fdd7e3ea5c5b33dc9fc90e8a7a84d555", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7163, "upload_time": "2013-06-22T10:30:57", "url": "https://files.pythonhosted.org/packages/82/b4/6d1c37800ac51962fae51e0184e7ee5513d1447f2303a35b3e1f93f1337c/travis-solo-0.0.7.tar.gz" } ], "0.0.8": [ { "comment_text": "", "digests": { "md5": "1cd2a7fd6fdb64cbb80aae1127fa908a", "sha256": "9d55cb99a9692d70d9e3cd68df472bbe43f7c019578e63d78494566a8fd5a726" }, "downloads": -1, "filename": "travis-solo-0.0.8.tar.gz", "has_sig": false, "md5_digest": "1cd2a7fd6fdb64cbb80aae1127fa908a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7520, "upload_time": "2013-06-27T23:23:58", "url": "https://files.pythonhosted.org/packages/68/16/d156a67318f809dcf435fc323ca9c35098a6b0f70fff34c53bf75e57818d/travis-solo-0.0.8.tar.gz" } ], "0.0.9": [ { "comment_text": "", "digests": { "md5": "3be93a43fe96bba355a5d74cb02d12ad", "sha256": "5b600be78c077fdbf34416ae5e6c1f774da371f48fbf449e2848bcc007860cb9" }, "downloads": -1, "filename": "travis_solo-0.0.9-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "3be93a43fe96bba355a5d74cb02d12ad", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 9452, "upload_time": "2014-01-01T21:32:57", "url": "https://files.pythonhosted.org/packages/3c/54/6f25b8bf46910b2ac40060a4899a395216ee089352c48bbfd3e99d55e54a/travis_solo-0.0.9-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "600024a263e355f77020cd419bc70c41", "sha256": "0ebaa05745eba04a86ba9ffc9aa23252ae71f9fdc1675ac4525997c2479846d0" }, "downloads": -1, "filename": "travis-solo-0.0.9.tar.gz", "has_sig": false, "md5_digest": "600024a263e355f77020cd419bc70c41", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7574, "upload_time": "2013-07-28T00:33:59", "url": "https://files.pythonhosted.org/packages/ab/79/2f951ff9921a9ba377c2621997258f196a0a6101460c487adf756c1c115e/travis-solo-0.0.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3be93a43fe96bba355a5d74cb02d12ad", "sha256": "5b600be78c077fdbf34416ae5e6c1f774da371f48fbf449e2848bcc007860cb9" }, "downloads": -1, "filename": "travis_solo-0.0.9-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "3be93a43fe96bba355a5d74cb02d12ad", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 9452, "upload_time": "2014-01-01T21:32:57", "url": "https://files.pythonhosted.org/packages/3c/54/6f25b8bf46910b2ac40060a4899a395216ee089352c48bbfd3e99d55e54a/travis_solo-0.0.9-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "600024a263e355f77020cd419bc70c41", "sha256": "0ebaa05745eba04a86ba9ffc9aa23252ae71f9fdc1675ac4525997c2479846d0" }, "downloads": -1, "filename": "travis-solo-0.0.9.tar.gz", "has_sig": false, "md5_digest": "600024a263e355f77020cd419bc70c41", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7574, "upload_time": "2013-07-28T00:33:59", "url": "https://files.pythonhosted.org/packages/ab/79/2f951ff9921a9ba377c2621997258f196a0a6101460c487adf756c1c115e/travis-solo-0.0.9.tar.gz" } ] }