Skip to content

Commit

Permalink
Update tox.ini for multiple python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
levi-rs committed Feb 29, 2016
1 parent 05f40e9 commit 23d7675
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 4 additions & 1 deletion circle.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
machine:
python:
version: 3.5.0
environment:
PY_VERSIONS: '2.7.10 3.3.3 3.4.3 3.5.0 pypy-2.5.0'

general:
artifacts:
Expand All @@ -12,7 +14,8 @@ dependencies:
override:
- pip install --upgrade pip
- pip install --upgrade tox
- pip install --upgrade python-coveralls
- pip install --upgrade coveralls
- pyenv local $PY_VERSIONS

test:
override:
Expand Down
6 changes: 2 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[tox]
skipdist = True
envlist = test
envlist = py27, py33, py34, py35, pypy

[testenv]
basepython = python3.5
envdir = {toxworkdir}/tox
passenv = CIRCLE_BRANCH
deps =
pytest>=2.6.4
pytest-cov>=1.8.1
Expand All @@ -13,8 +13,6 @@ deps =
isort
tox-pyenv


[testenv:test]
commands =
py.test --cov dankbot --cov-report term-missing --cov-report html --cov-report xml --junitxml={envdir}/junit.xml []
flake8 --statistics --count --max-complexity=10 --max-line-length=100 --output-file={envdir}/flake8.txt setup.py dankbot tests
Expand Down

0 comments on commit 23d7675

Please sign in to comment.