mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-27 10:26:23 +00:00
add travis CI file
This commit is contained in:
parent
d66fd5ba1b
commit
22aae5fb66
14
.travis.yml
Normal file
14
.travis.yml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
language: python
|
||||||
|
python:
|
||||||
|
- "2.7"
|
||||||
|
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
|
||||||
|
install:
|
||||||
|
- "pip install coveralls --use-mirrors"
|
||||||
|
- "pip install nose-cov --use-mirrors"
|
||||||
|
- "pip install -r requirements.txt --use-mirrors"
|
||||||
|
- "pip install --upgrade git+https://github.com/mitmproxy/pathod.git"
|
||||||
|
# command to run tests, e.g. python setup.py test
|
||||||
|
script:
|
||||||
|
- "nosetests --with-cov --cov-report term-missing"
|
||||||
|
after_success:
|
||||||
|
- coveralls
|
Loading…
Reference in New Issue
Block a user