Skip to content

Commit

Permalink
let's see if this works
Browse files Browse the repository at this point in the history
  • Loading branch information
kennethreitz committed Jan 22, 2017
1 parent 4c53915 commit c00783c
Show file tree
Hide file tree
Showing 5 changed files with 61 additions and 39 deletions.
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
.PHONY: docs

init:
pip install -r requirements.txt
pip install pipenv>=0.1.6
pipenv install --dev

test:
# This runs all of the tests. To run an individual test, run py.test with
# the -k flag, like "py.test -k test_path_is_not_double_encoded"
py.test tests
pipenv run py.test tests

coverage:
py.test --cov-config .coveragerc --verbose --cov-report term --cov-report xml --cov=requests tests
pipenv run py.test --cov-config .coveragerc --verbose --cov-report term --cov-report xml --cov=requests tests

certs:
curl http://ci.kennethreitz.org/job/ca-bundle/lastSuccessfulBuild/artifact/cacerts.pem -o requests/cacert.pem
Expand Down
12 changes: 12 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[[source]]
url = "https://pypi.org/"
verify_ssl = true

[dev-packages]
sphinx = "*"
pytest-mock = "*"
pytest-cov = "*"
pytest = "*"
codecov = "*"
pytest-httpbin = "*"
PySocks = "*"
45 changes: 45 additions & 0 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 0 additions & 7 deletions requirements-to-freeze.txt

This file was deleted.

29 changes: 0 additions & 29 deletions requirements.txt

This file was deleted.

0 comments on commit c00783c

Please sign in to comment.