summaryrefslogtreecommitdiffhomepage
path: root/tox.ini
AgeCommit message (Collapse)Author
2017-12-17travis: Introduce autopep8 testIWASE Yusuke
This patch add a new test using "autopep8" to keep codes reformatted easily by using Python tool. Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2017-12-17pycodestyle: Replace pep8IWASE Yusuke
pep8 has been renamed to pycodestyle and will be removed in a future release. This patch replaces pep8 by pycodestyle and adding some settings for pycodestyle. Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2017-06-30Revert "tests: Separate test files from Ryu module"FUJITA Tomonori
This reverts commit a67ed2858417b9d795460f05126c01fb0cd344f9. The commit breaks OpenStack neutron dynamic routing.
2017-06-26tests: Separate test files from Ryu moduleIWASE Yusuke
To prevent redundant files (e.g., pcap files, json files for tests, packet data generator) to be installed, this patch separates test directory from Ryu module. Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-12-14tox: Move dependencies installation to .travis.ymlIWASE Yusuke
This patch moves dependencies installation in tox.ini to .travis.yml in order to avoid to install dependencies repeatedly when running tox tests on locally. Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-12-14tox: Test ryu-manager without additional requirementsIWASE Yusuke
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-11-24Enable to run a scenario test with a specific python versionfumihiko kakuma
Signed-off-by: Fumihiko Kakuma <kakuma@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-11-15pip: Separate test-requiresIWASE Yusuke
Currently, in addition to "requirements for tests", test-requires includes "optional requirements". This makes it unclear to identify which packages are surely required to use optional features (e.g., OF-Config, NETCONF, BGP speaker) and causes the redundant installation when building Docker images. This patch separates test-requires into two files("test requirements" and "optional requirements"). Also, this patch reverts the version fixation for some packages. Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-10-29Enable to run a scnario test for ryu bgp on travisfumihiko kakuma
Signed-off-by: Fumihiko Kakuma <kakuma@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-05-13tox: Integrate Coveralls.ioIWASE Yusuke
To check the code coverage of the unit tests on web, this patch add integration of Coveralls.io (https://coveralls.io/). Usage: 1. Sign in to Coveralls.io with your GitHub account. 2. Add repos at your account page. 3. Execute tests on Travis-CI. Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-05-13tox: Add Python 3.5IWASE Yusuke
>From Ubuntu 16.04 LTS, the default version of Python 3 has been upgraded to 3.5.1. e.g.) $ python3 --version Python 3.5.1+ This patch enables to run unit tests on Python 3.5 environment. Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-05-09tox: Upgrade PyPy version to 2.6IWASE Yusuke
Recently, Paramiko updates the requirements to 'cryptography>=1.1', cryptography 1.0 is not compatible with PyPy < 2.6, but PyPy version of Travis-CI is older than 2.6. So this causes CI test error. This patch upgrades PyPy interpreter version to 2.6 in tox environment. Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-02-18drop python2.6 supportFUJITA Tomonori
The Python core team[*1] stopped supporting python 2.6. Some Python libraries started following the same path and trying to support 2.6 becomes painful... For example, most of you already noticed, oslo.config dropped 2.6 support. I tried to work around it with the following commit: https://github.com/osrg/ryu/commit/22501710983fb79a8a337e6bf650821efdc7cf59 But this forces users of decent distributions (e.g Ubuntu 14.04) to upgrade pip (old pip versions can't understand version conditions). [*1] http://www.curiousefficiency.org/posts/2015/04/stop-supporting-python26.html Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2016-02-10tox: Adapt to PyPy interpreterIWASE Yusuke
Note: Though tests may not be enough, as far as running unit test, this patch makes compatible with PyPy interpreter. Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2015-11-13tox: disable wheel cacheSatoshi KOBAYASHI
Recently, installed packages are cached by Wheel. It is serious when the package is using 2to3 with setuptools (use_2to3) for adapting python3. Because Wheel is caching the contents of translated. If the contents of translated are cached, it can't work properly in python2 Signed-off-by: Satoshi KOBAYASHI <satoshi-k@iij.ad.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2015-09-18.travis.yml: Suppress the output of unit testsYusuke Iwase
Because Travis-CI has a limit of the log file to 4MB, this patch suppress the output of unit tests by setting NOSE_VERBOSE in tox.ini. tox.ini does not effect when running run_tests.sh locally, so please run run_tests.sh, if the full log messages are needed. Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2015-06-20tox.ini: Be able to run python3 unit testsIWAMOTO Toshihiro
With this change, you can run "tox -e py34" to test python3 compatibility. Signed-off-by: IWAMOTO Toshihiro <iwamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2015-04-28tox.ini: Pass posargs to make "tox -e py27 path.to.test" workYAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2015-02-16tox.ini: Disable pep8 W503 for nowYAMAMOTO Takashi
Disable pep8 "W503 line break before binary operator" warning for now. The check was recently introduced by pep8 1.6.2. Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2015-02-08ignore some pep8 errors for nowFUJITA Tomonori
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2014-10-14tox.ini: Add pep8 environmentYAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2014-05-14add pep8 options to tox.iniYoshihiro Kaneko
Add the pep8 section to tox.ini and specify ignoring E113. Many E113 errors appeared on comments. It seems a bug of pep8, so it can be ignored. Signed-off-by: Yoshihiro Kaneko <ykaneko0929@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2013-09-02Add a configuration file for tox (http://testrun.org/tox/)Satoshi Kobayashi
Python 2.6 and 2.7 interpreters are added to PATH, you can execute the following. Each virtual environment will be made and a test will be run. $ tox NOTE: py33 was failure because dependence packages are not worked on Python3 (At least: Eventlet). Signed-off-by: Satoshi Kobayashi <satoshi-k@stratosphere.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>