summaryrefslogtreecommitdiff
path: root/.travis.yml
Commit message (Collapse)AuthorAgeFilesLines
* Adding explicit python 3.5.2 test to nox, travisEric Lin2020-08-111-1/+4
| | | | | | | Python 3.5.2 introduced a bug in typing that was fixed in 3.5.3. The bug in typing prevents the latest nox from running properly. Ubuntu 16.04 stopped at python 3.5.2. To work-around, force an older version of nox when testing 3.5.2
* Adding explicit python 3.5.3 test to nox, travis.Eric Lin2020-08-101-0/+3
| | | | Copied 3.5.4 definition of typing.Deque
* Swap out tox for noxEric Lin2020-07-081-9/+9
|
* Move Sphinx docs build from Python 3.5 to 3.7 since 3.7 is what ReadTheDocs ↵Todd Leonhardt2020-01-221-1/+1
| | | | now uses for builds
* Add support for Python 3.8 release version on all platformsTodd Leonhardt2020-01-221-2/+6
| | | | | | Also: - Try adding support for 3.9-dev on Travis - Update to running flake8 for 3.8 instead of 3.7
* Updated max-complexity that flake8 is called with in .travis.ymlTodd Leonhardt2019-07-171-1/+1
|
* Try fixing AppVeyor and Travils buildsTodd Leonhardt2019-06-141-5/+3
|
* Deprecate support for Python 3.4 and begin testing with Python 3.8 betaTodd Leonhardt2019-06-141-3/+3
|
* Fixed flake errorsKevin Van Brunt2019-05-081-1/+1
|
* Fix flake8 issuesTodd Leonhardt2018-12-061-2/+1
| | | | | | | | | | | | | | | | | | | | | | This commit contains a very large number of trivial changes in order to fix flake8 errors and warnings. Predominantly these are whitespace changes. Additionally, the build for Python 3.7 on TravisCI has been tweaked to fail if there are any flake8 errors using the following commandline: * flake8 . --count --ignore=E252 --max-complexity=31 --max-line-length=127 --show-source --statistics NOTE: In the future the max cyclomatic complexity should be lowered, but some improvements need to be made first. One flake8 error is being ignored entirely: * E252 missing whitespace around parameter equals * ignored because it doesn't correctly deal with default argument values after a type hint A few flake8 errors are being selectively ignored in certain files: * C901 fuction is too complex * ignored in argparse_completer.py because the complex code is an override of argparse complexity * E302 expected 2 blank lines after ... * ignored in all unit test files for convenience * F401 module imported but unused * ignored in cmd2/__init__.py because imports are for convenience of cmd2 developers and backwards compatibility * F821 undefined name * ignored in cmd2 script files which are intended to run only within cmd2 applications via pyscript where "app" and "cmd" are defined
* --exclude=./.*cclauss2018-11-191-2/+2
| | | Your mileage may vary...
* 3 seconds is a reasonable runtime.cclauss2018-11-191-2/+2
|
* flake8 . --count --exclude=./.,./examples,./testscclauss2018-11-191-2/+2
|
* flake8 . --count --exclude=./examples,./testscclauss2018-11-181-1/+1
|
* Travis CI: Use flake8 to find syntax errors and undefined namescclauss2018-11-181-2/+9
| | | | | | | | | | | Currently __app__ and __self__ are _undefined names_. Is there a way to use __global__ or __import__ or __# noqa__ to resolve this? __E901,E999,F821,F822,F823__ are the "_showstopper_" [flake8](http://flake8.pycqa.org) issues that can halt the runtime with a SyntaxError, NameError, etc. Most other flake8 issues are merely "style violations" -- useful for readability but they do not effect runtime safety. * F821: undefined name `name` * F822: undefined name `name` in `__all__` * F823: local variable name referenced before assignment * E901: SyntaxError or IndentationError * E999: SyntaxError -- failed to compile a file into an Abstract Syntax Tree
* Trying to force a VM-based build for Python 3.7 on Travis CI instead of a ↵Todd Leonhardt2018-09-211-0/+1
| | | | container-based build
* Trying to force newer ubuntu distro on Travis CI to get official Python 3.7 ↵Todd Leonhardt2018-09-211-0/+1
| | | | build working
* Add official Python 3.7 support for Travis CI testingTodd Leonhardt2018-09-211-1/+1
| | | | Previously our Travis CI configuration was using 3.7-dev for testing with Python 3.7 now it is using the official 3.7.
* Modify .travis.yml to do the doc buildTodd Leonhardt2018-07-301-0/+3
| | | | | Also: - Have doc build treat warnings as errors
* No longer try to test on Python 2.7 on either TravisCI or AppVeyorTodd Leonhardt2018-04-151-10/+0
|
* Enabled Python 3.7 testing on Travis CITodd Leonhardt2018-01-061-3/+3
| | | | Also bumped version to 0.8.0a
* Disabled Python 3.7-dev build in Travis CITodd Leonhardt2018-01-041-3/+3
| | | | | | | There are a couple unit test failures with Python 3.7-dev that we will need to look into at some point, so I disabled that build for now. Updated all documentation to reflect that cmd2 is support on Python 2.7 and 3.4+. Official support for Python 3.3 has been abandoned due to no longer having support to test on that platform on Travis CI.
* Fix Travis CI buildsTodd Leonhardt2018-01-041-6/+3
| | | | | 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.
* Attempt to speedup unit testsTodd Leonhardt2017-07-021-3/+3
| | | | | | | | | | | | | | | | | | 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
* Reverting TravisCI yaml file to not install xclip and not setup a virtual ↵Todd Leonhardt2017-06-281-11/+0
| | | | display (since it didn't help)
* Modify TravisCI yaml file to imitate a display with an X Virtual FramebufferTodd Leonhardt2017-06-281-0/+7
| | | | This is yet another attempt at getting xclip to work on Linux TravisCI builds to aid with unit testing.
* Attempt at fixing how xclip is checked for on Linux systemsTodd Leonhardt2017-06-281-0/+7
|
* Multiple changesTodd Leonhardt2017-06-281-18/+18
| | | | | | | | - Disabled TravisCI macOS builds because they are heavily backlogged - Removed a file which should never have been committed - Updated Sphinx docs to relect that the default_file_name settable parameter no longer exists - Fixed comment in a unit test - Fixed a unit test to use os.path.sep for cross-platform compatibility
* Attempting to enable macOS builds on TravisCITodd Leonhardt2017-06-251-19/+19
|
* Restoring travis to non-sudo containerized buildsTodd Leonhardt2017-06-251-2/+1
|
* Experiment with sudo on travisTodd Leonhardt2017-06-251-2/+2
| | | | Installing pywin32 on AppVeyor is more difficult than just using pip.
* Attempt to install pywin32 on AppVeyor and xclip on TravisTodd Leonhardt2017-06-251-0/+1
|
* Don't try to run a code coverage analysis on PyPyTodd Leonhardt2017-06-241-6/+7
| | | | | | 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
* Commented out Mac OS X builds for Travis CI since they are still painfully ↵Todd Leonhardt2017-03-131-18/+19
| | | | backed up
* Travis CI changesTodd Leonhardt2017-03-131-7/+15
| | | | | | - Remove Python 2.6 and 3.2 builds because they don't work and aren't worth fixing - Attempt at fixing pypy3 unit test that fails - First attempt at building for Python 3 on Mac OS X
* Experimenting with having Travis build with some different versions of PythonTodd Leonhardt2017-03-131-3/+16
|
* Disabled Mac OS X build on TravisCI because their Mac building isn't reliableTodd Leonhardt2017-02-011-3/+3
|
* For Mac OS X, only build for Python 2.7.Todd Leonhardt2017-01-261-11/+1
| | | | We should be able to get a Python 3.x build working on Mac OS X by manually installing the correct version of Python, but this is apparently more difficult than I would have thought.
* Trying to get the travis "before_install" bash syntax correct so that if the ↵Todd Leonhardt2017-01-261-1/+3
| | | | OS is osx AND the TOXENV is py36, then homebrew will be used to install python3.
* Python 2.7 is working with Mac OS X. Trying to get Python 3.6 working as well.Todd Leonhardt2017-01-261-13/+13
|
* Seeing if objective-c works better as the language for OS X than "generic" doesTodd Leonhardt2017-01-251-6/+8
|
* Try enabling sudo for Mac OS X builds because we appear to be getting a ↵Todd Leonhardt2017-01-251-2/+4
| | | | failure due to sudo
* Trying "language: generic" on OS X insead of "language: python" since Mac OS ↵Todd Leonhardt2017-01-251-4/+2
| | | | X jobs weren't starting on Travis
* Removed python 2.6 since it doesn't work and trying to build for OS X with ↵Todd Leonhardt2017-01-251-11/+20
| | | | Python 2.7 and 3.5
* Fixed a syntax error in .travis.ymlTodd Leonhardt2017-01-251-1/+1
|
* Trying to get Mac OS X testing working with Travis-CITodd Leonhardt2017-01-251-0/+7
|
* Enable testing Python 3.5 using matrixFederico Ceratto2016-02-201-6/+13
|
* enable container-based buildFederico Ceratto2016-02-201-0/+1
|
* Update Tox, add TravisCI supportFederico Ceratto2016-02-201-0/+11