diff --git a/.travis.yml b/.travis.yml index 412f25fd..c58d5858 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 \ No newline at end of file + - pipenv run coveralls \ No newline at end of file diff --git a/Pipfile b/Pipfile new file mode 100644 index 00000000..b360e2a1 --- /dev/null +++ b/Pipfile @@ -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] diff --git a/requirements-dev.txt b/requirements-dev.txt deleted file mode 100644 index 92215a39..00000000 --- a/requirements-dev.txt +++ /dev/null @@ -1,7 +0,0 @@ -requests -PyYAML -Jinja2 -har2case -colorama -colorlog -flask \ No newline at end of file