summaryrefslogtreecommitdiff
path: root/tox.ini
Commit message (Collapse)AuthorAgeFilesLines
* Fix Travis CI buildsTodd Leonhardt2018-01-041-11/+1
| | | | | Python 3.3 builds appear to be no longer supported on Travis CI. This replaces Python 3.3 with Python 3.7-dev for Travis CI builds.
* Trying to fix tox.ini and appveyor.yml to get automated Windows tests to ↵Todd Leonhardt2017-11-151-0/+28
| | | | work again
* First attempt at improving how command output gets piped to a shell commandTodd Leonhardt2017-08-071-0/+1
| | | | | | | | | | Now a real pipe is created to a subprocess. This has many advantages and should "just work" like intended with all commands. One downside is to work properly on Python 2.7, it requires the subprocess32 module which is the subprocess module from Python 3.2 backported to Python 2.7. Another downside, is that unit testing the feature is now more difficult. This still needs to be tested for compatibility across all OSes and supported versions of Python. The user needs to be careful if designing multi-threaded cmd2 applications that do command processing in other threads and those threads can make calls to self.stdout.write to put in a try/except to catch Broken Pipe errors which can occur for long running commands if the user closes the shell subprocess before the command is finished.
* Another tweak to tox.ini and .coveragerc, fingers crossed ...Todd Leonhardt2017-07-021-7/+9
|
* Tweak tox.ini and .coveragerc in hopes of getting pytest-cov and ↵Todd Leonhardt2017-07-021-7/+12
| | | | pytest-xdist to play nicely together
* Don't run code coverage in Python 3.6 on WindowsTodd Leonhardt2017-07-021-1/+11
|
* Stop trying to use pytest-xdist when using pytest-covTodd Leonhardt2017-07-021-6/+2
| | | | | It works fine for me on my Mac, but it doesn't seem to work right on either TravisCI or AppVeyor. It appears to calculate the code coverage incorrectly when using pytest-xdist.
* Adding run of example back to environments which are doing code coverage ↵Todd Leonhardt2017-07-021-0/+2
| | | | analysis
* Only install code coverage dependencies on platforms which are going to do ↵Todd Leonhardt2017-07-021-2/+39
| | | | code coverage
* Apparently "codecov erase" isn't an optionTodd Leonhardt2017-07-021-2/+0
|
* Attempt to speedup unit testsTodd Leonhardt2017-07-021-4/+25
| | | | | | | | | | | | | | | | | | Now that we have a lot of unit tests and are running code coverage analysis, our unit tests take a long time to run. Changes include ... tox: - Install pytest-xdist to parallelize unit tests - Only run code coverage analysis on Python 2.7 and 3.6 - Don't run examples/example.py anymore, just run the unit tests TravisCI: - Stop building on Python 3.7-dev since that won't be released for some time AppVeyor: - Stop building on Python 3.4 since that isn't as important and is covered by Travis
* Replaced clipboard copy and paste custom code with pyperclipTodd Leonhardt2017-06-301-0/+1
| | | | | | - Added a 3rd-party dependency on the pyperclip module TODO: Rigorous test on all OSes, particularly Linux systems without xclip
* Don't try to run a code coverage analysis on PyPyTodd Leonhardt2017-06-241-2/+2
| | | | | | Running a code coverage analysis takes forever on pypy and twice forever for pypy3, so don't try. Also try to get codecov working with AppVeyor
* Experimenting with codecov integrationTodd Leonhardt2017-06-241-1/+5
|
* Changes to make our project as welcoming as possible for new contributors.Todd Leonhardt2017-02-261-1/+1
| | | | | | | Changes include: 1) Added CONTRIBUTING.md with detailed instructions for how to contribute, which should be especially useful to those new to open source in general or GitHub in particular 2) Added CODE_OF_CONDUCT.md which sets ground rules for participants’ behavior and helps to facilitate a friendly, welcoming environment 3) Renamed the "example" directory to "examples" in the hope that one day soon there may be more than a single example ;-)
* Updated tox.ini to no longer try to run cmd2.py directly as part of the tests.Todd Leonhardt2017-02-231-1/+0
|
* First stage of refactoring to support full simultaneous Python 2 and 3 ↵Todd Leonhardt2016-12-091-0/+1
| | | | compatibility via use of the six module.
* Add Python3.6 supportFederico Ceratto2016-10-031-1/+1
|
* Add unit testsFederico Ceratto2016-02-231-1/+6
|
* Update Tox, add TravisCI supportFederico Ceratto2016-02-201-2/+2
|
* Make sure we use the python interpreter from the virtualenv created by tox ↵Doug Hellmann2013-09-161-3/+3
| | | | to run the tests.
* Indicate change in repository host to bitbucketCatherine Devlin2012-05-261-0/+8