Commit 67002a0c authored by Johann Köbbe's avatar Johann Köbbe

Removed tox.

parent e4a80c48
......@@ -75,15 +75,14 @@ $ git checkout -b name-of-your-bugfix-or-feature
Now you can make your changes locally.
* When you're done making changes, check that your changes pass flake8 and the tests, including testing other Python versions with tox:
* When you're done making changes, check that your changes pass flake8 and the tests:
```
$ flake8 pacman-mirrors tests
$ python setup.py test
$ tox
```
* To get flake8 and tox, just pip install them into your virtualenv.
* To get flake8, just pip install it into your virtualenv (see notes below).
* Commit your changes and push your branch to GitHub:
```
......@@ -128,7 +127,7 @@ $ python -m unittest tests.test_pacman_mirrors
$ sudo pacman -Syu python-pip python-virtualenvwrapper
$ mkvirtualenv pacman-mirrors
$ python setup.py develop
$ pip install mkdocs tox coverage babel flake8 npyscreen transifex-client
$ pip install mkdocs coverage babel flake8 npyscreen transifex-client
```
* Remember to `source /usr/bin/virtualenvwrapper.sh` to get the virtualenv CLI
......@@ -7,7 +7,6 @@ help:
@echo "clean-test - remove test and coverage artifacts"
@echo "lint - check style with flake8"
@echo "test - run tests quickly with the default Python"
@echo "test-all - run tests on every Python version with tox"
@echo "coverage - check code coverage quickly with the default Python"
@echo "docs - generate MkDocs HTML documentation, man page using Pandoc, including API docs"
@echo "release - package and upload a release"
......@@ -34,7 +33,6 @@ clean-pyc:
find . -name '__pycache__' -exec rm -fr {} +
clean-test:
rm -fr .tox/
rm -f .coverage
rm -fr htmlcov/
......@@ -44,9 +42,6 @@ lint:
test:
python setup.py test
test-all:
tox
coverage:
coverage run --source pacman_mirrors setup.py test
coverage report -m
......
[tox]
envlist = py34
[testenv]
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/pacman-mirrors
commands = python setup.py test
deps =
-r{toxinidir}/requirements.txt
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment