mirror of
https://github.com/httprunner/httprunner.git
synced 2026-07-10 23:12:41 +08:00
replace requirements-dev.txt with Pipfile
This commit is contained in:
@@ -6,10 +6,9 @@ python:
|
|||||||
- 3.5
|
- 3.5
|
||||||
- 3.6
|
- 3.6
|
||||||
install:
|
install:
|
||||||
- pip install coverage
|
- pip install pipenv --upgrade-strategy=only-if-needed
|
||||||
- pip install coveralls
|
- pipenv install --dev
|
||||||
- pip install -r requirements-dev.txt
|
|
||||||
script:
|
script:
|
||||||
- coverage run --source=httprunner -m unittest discover
|
- pipenv run coverage run --source=httprunner -m unittest discover
|
||||||
after_success:
|
after_success:
|
||||||
- coveralls
|
- pipenv run coveralls
|
||||||
25
Pipfile
Normal file
25
Pipfile
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
[[source]]
|
||||||
|
|
||||||
|
url = "https://pypi.python.org/simple"
|
||||||
|
verify_ssl = true
|
||||||
|
name = "pypi"
|
||||||
|
|
||||||
|
|
||||||
|
[packages]
|
||||||
|
|
||||||
|
requests = "*"
|
||||||
|
pyyaml = "*"
|
||||||
|
"jinja2" = "*"
|
||||||
|
"har2case" = "*"
|
||||||
|
colorama = "*"
|
||||||
|
colorlog = "*"
|
||||||
|
|
||||||
|
|
||||||
|
[dev-packages]
|
||||||
|
|
||||||
|
flask = "*"
|
||||||
|
coverage = "*"
|
||||||
|
coveralls = "*"
|
||||||
|
|
||||||
|
|
||||||
|
[scripts]
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
requests
|
|
||||||
PyYAML
|
|
||||||
Jinja2
|
|
||||||
har2case
|
|
||||||
colorama
|
|
||||||
colorlog
|
|
||||||
flask
|
|
||||||
Reference in New Issue
Block a user