mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-12 02:21:29 +08:00
replace requirements-dev.txt with Pipfile
This commit is contained in:
@@ -6,10 +6,9 @@ python:
|
||||
- 3.5
|
||||
- 3.6
|
||||
install:
|
||||
- pip install coverage
|
||||
- pip install coveralls
|
||||
- pip install -r requirements-dev.txt
|
||||
- pip install pipenv --upgrade-strategy=only-if-needed
|
||||
- pipenv install --dev
|
||||
script:
|
||||
- coverage run --source=httprunner -m unittest discover
|
||||
- pipenv run coverage run --source=httprunner -m unittest discover
|
||||
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