Skip to content

Commit

Permalink
Remove py27 support for pytest
Browse files Browse the repository at this point in the history
Reference: #113
  • Loading branch information
ljvmiranda921 committed May 16, 2018
1 parent 5cb4c59 commit c7db858
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,4 @@ python:
- 3.6
- 3.5
- 3.4
- 2.7
script: tox
6 changes: 2 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
[tox]
envlist = py27, py33, py34, py35, py36, flake8
envlist = py34, py35, py36, flake8

[travis]
python =
3.6: py36
3.5: py35
3.4: py34
3.3: py33
2.7: py27

[testenv:flake8]
basepython=python
Expand All @@ -18,7 +16,7 @@ commands=flake8 pyswarms
setenv =
PYTHONPATH = {toxinidir}

commands = python setup.py test
commands = python -m pytest -v

; If you want to make tox run the tests with the same versions, create a
; requirements.txt with the pinned versions and uncomment the following lines:
Expand Down

0 comments on commit c7db858

Please sign in to comment.