Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | We've decided that python-3.5 is the minimum python version (#17270) | Toshio Kuratomi | 2016-08-29 | 1 | -5/+1 |
| | |||||
* | Start to test module_utils for python 3 syntax (#15882) | Michael Scherer | 2016-05-17 | 1 | -2/+2 |
| | |||||
* | Exclude the sample directory from tests | Toshio Kuratomi | 2016-05-11 | 1 | -4/+4 |
| | |||||
* | Reorganizing tox stuff and making py3-specific requirements | James Cammarata | 2016-03-11 | 1 | -1/+7 |
| | |||||
* | Start a pyflakes section to cut down on extra messages that we don't agree ↵ | Toshio Kuratomi | 2015-11-11 | 1 | -0/+19 |
| | | | | are problems | ||||
* | Tox seems to not like the subsitution key for some reason | Toshio Kuratomi | 2015-10-19 | 1 | -1/+2 |
| | |||||
* | Simplify tox.ini, remove outdated comment | Marius Gedminas | 2015-10-19 | 1 | -2/+1 |
| | |||||
* | Enable unit tests on Python 3.4 in tox and Travis | Marius Gedminas | 2015-10-16 | 1 | -1/+1 |
| | | | | These now pass \o/ | ||||
* | Enable unit tests on Python 3.5 | Marius Gedminas | 2015-10-16 | 1 | -1/+1 |
| | | | | | | | | | | | | This enables the tests in tox and in Travis. This ought to prevent regressions in Python 3 support. Note that Python 3.4 isn't supported (yet) because the vault code relies on %-formatting of byte strings, a feature that was ripped out of Python 3.0 and restored in 3.5. Also note that passing tests don't mean that Ansible itself can already be used with Python 3.5: test coverage is only 53%. | ||||
* | Add Python 3.5 to tox.ini | Marius Gedminas | 2015-10-04 | 1 | -2/+2 |
| | |||||
* | Simplify tox.ini | Marius Gedminas | 2015-10-04 | 1 | -17/+4 |
| | | | | | | Use the factor-conditional settings feature of tox >= 1.8 to reduce duplication: https://tox.readthedocs.org/en/latest/config.html#factors-and-factor-conditional-settings | ||||
* | Remove redundancies from tox.ini | Marius Gedminas | 2015-10-04 | 1 | -8/+1 |
| | |||||
* | Use print() as function under contrib/ | Marius Gedminas | 2015-08-28 | 1 | -3/+1 |
| | | | | | This fixes the remaining Python 3 syntax errors, so re-enable compileall for contrib/ again. | ||||
* | Enable py34 test in travis so we don't regress recent fixespy3-test | Toshio Kuratomi | 2015-08-27 | 1 | -2/+5 |
| | |||||
* | Disable compileall test for contrib/ in tox -e py34 | Marius Gedminas | 2015-08-27 | 1 | -1/+1 |
| | | | | | (This is supposed to be temporary, until the code under contrib/ gets cleaned up from all the remaining print statements.) | ||||
* | Use 'except ... as' syntax | Marius Gedminas | 2015-08-27 | 1 | -1/+1 |
| | | | | | | This syntax works on Python 2.6 through 3.x. lib/ansible/module_utils (and lib/ansible/modules) need to support Python 2.4, so I didn't touch those. | ||||
* | Better way to stop tox running on unwanted directories | Toshio Kuratomi | 2015-08-27 | 1 | -3/+3 |
| | |||||
* | Don't compile .py files under .tox/ | Marius Gedminas | 2015-08-26 | 1 | -3/+3 |
| | | | | | | | 'tox -e py26' would fail for me because python -m compileall would crawl under .tox/py27 and, unsurprisingly, get SyntaxErrors on files from the Python 2.7 standard library using syntax features not supported by Python 2.6. | ||||
* | Push python2.4 check into travis | Toshio Kuratomi | 2015-07-31 | 1 | -2/+3 |
| | |||||
* | Undo previous travis/tox fixes and fix underlying issue | James Cammarata | 2015-07-31 | 1 | -2/+2 |
| | |||||
* | Updating tox script too | James Cammarata | 2015-07-31 | 1 | -2/+2 |
| | |||||
* | dont check vagrant inventory script for 2.6 | Brian Coca | 2015-07-21 | 1 | -1/+1 |
| | |||||
* | Correct typo | Toshio Kuratomi | 2015-06-11 | 1 | -1/+1 |
| | |||||
* | Testing additions and fixes | Matt Martz | 2015-05-08 | 1 | -14/+22 |
| | | | | | | * Fix import pathing for units.mock * Add some additional requirements * Use compileall to test compatiblity with different python versions | ||||
* | Move command for v1 back into testenv so that we have a default | Toshio Kuratomi | 2015-04-14 | 1 | -2/+4 |
| | | | | | (We have a jenkins build that creates a [testenv:jenkins] so it needs there to be a default value | ||||
* | Updated the tox.ini file to run multiple ansible versions. | Rory Finnegan | 2015-04-14 | 1 | -1/+15 |
| | | | | | | Purpose: so that devs can use tox to run v1 or v2 of ansible with various versions of python. For example `tox -e py27-v2 will run python2.7 on v2. Currently, only py26 and py27 are run on v1 when running just `tox` so that we aren't breaking builds. | ||||
* | Add tox and travis-ci support | James Laska | 2015-03-13 | 1 | -0/+7 |
Add tox integration to run unittests in supported python releases. Travis-CI is used for test execution. Additionally, the unittest TestQuotePgIdentifier was updated to support using assert_raises_regexp on python-2.6. Sample travis-ci output available at https://travis-ci.org/ansible/ansible/builds/54189977 |