From 4f543caca1ab627c75fefb0b3a5e2ac06ec17d92 Mon Sep 17 00:00:00 2001 From: debugtalk Date: Wed, 28 Feb 2018 15:33:34 +0800 Subject: [PATCH] replace requirements-dev.txt with Pipfile --- .travis.yml | 9 ++++----- Pipfile | 25 +++++++++++++++++++++++++ requirements-dev.txt | 7 ------- 3 files changed, 29 insertions(+), 12 deletions(-) create mode 100644 Pipfile delete mode 100644 requirements-dev.txt 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