Continuous integration with Travis and tox
This commit is contained in:
parent
70e6fb776e
commit
6bb2b35ba2
2 changed files with 28 additions and 0 deletions
24
.travis.yml
Normal file
24
.travis.yml
Normal file
|
|
@ -0,0 +1,24 @@
|
||||||
|
language: python
|
||||||
|
|
||||||
|
install:
|
||||||
|
- pip install tox
|
||||||
|
|
||||||
|
env:
|
||||||
|
- TOX_ENV=py26
|
||||||
|
- TOX_ENV=py27
|
||||||
|
- TOX_ENV=py33
|
||||||
|
- TOX_ENV=py34
|
||||||
|
# - TOX_ENV=py35
|
||||||
|
- TOX_ENV=pypy
|
||||||
|
|
||||||
|
script:
|
||||||
|
- tox -e $TOX_ENV
|
||||||
|
|
||||||
|
matrix:
|
||||||
|
fast_finish: true
|
||||||
|
|
||||||
|
include:
|
||||||
|
# https://github.com/travis-ci/travis-ci/issues/4794#issuecomment-143758799
|
||||||
|
- python: 3.5
|
||||||
|
env:
|
||||||
|
- TOX_ENV=py35
|
||||||
4
tox.ini
Normal file
4
tox.ini
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
[testenv]
|
||||||
|
commands =
|
||||||
|
scour --version
|
||||||
|
python testscour.py
|
||||||
Loading…
Add table
Add a link
Reference in a new issue