| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
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.
|
|
|
|
| |
work again
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
pytest-xdist to play nicely together
|
| |
|
|
|
|
|
| |
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.
|
|
|
|
| |
analysis
|
|
|
|
| |
code coverage
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
- Added a 3rd-party dependency on the pyperclip module
TODO: Rigorous test on all OSes, particularly Linux systems without xclip
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
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 ;-)
|
| |
|
|
|
|
| |
compatibility via use of the six module.
|
| |
|
| |
|
| |
|
|
|
|
| |
to run the tests.
|
|
|