mirror of
https://github.com/dbcli/pgcli.git
synced 2022-11-27 03:23:34 +03:00
Fix problem with travis not using correct python versions when testing.
This commit is contained in:
15
.travis.yml
15
.travis.yml
@@ -1,10 +1,11 @@
|
||||
language: python
|
||||
env:
|
||||
- TOX_ENV=py26
|
||||
- TOX_ENV=py27
|
||||
- TOX_ENV=py33
|
||||
- TOX_ENV=py34
|
||||
python:
|
||||
- "2.6"
|
||||
- "2.7"
|
||||
- "3.3"
|
||||
- "3.4"
|
||||
|
||||
install: pip install tox
|
||||
install:
|
||||
- pip install . pytest mock
|
||||
|
||||
script: tox -e $TOX_ENV
|
||||
script: py.test
|
||||
|
||||
2
tests/pytest.ini
Normal file
2
tests/pytest.ini
Normal file
@@ -0,0 +1,2 @@
|
||||
[pytest]
|
||||
addopts=--capture=sys --showlocals
|
||||
Reference in New Issue
Block a user