← 输入框|github.com|刷新
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# config file for automatic testing at travis-ci.org
language: python
cache: pip
install:
- pip install --upgrade pip setuptools
- pip install virtualenv
script: python setup.py test
- pip install virtualenv tox
script: tox -v
matrix:
include:
- python: "2.7"
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ envlist =
pypy

[testenv]
commands = py.test
commands = pytest {posargs:}
deps =
pytest
pytest-cov
Expand Down