Skip to content

Commit

Permalink
make: ensure-pip
Browse files Browse the repository at this point in the history
Signed-off-by: Gaetan Semet <[email protected]>
  • Loading branch information
gsemet committed Apr 4, 2018
1 parent ca9cc39 commit 8cdccc6
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,4 @@ AUTHORS

# Do not track Pipfile.lock
Pipfile.lock
.pytest_cache/
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,15 @@

language: python


python:
- 3.6
- 3.5
- 3.4
- 2.7

install:
- pip install -U pip pipenv
- make dev
- make ensure-pip-ci
- make dev-ci

script:
- make check
Expand Down
16 changes: 15 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,26 @@

MODULE:=pipenv_to_requirements

all: dev style checks dists test
all: ensure-pip dev style checks dists test

ensure-pip:
pip install --user --upgrade pipenv pip
pip --version
pipenv --version

ensure-pip-ci:
pip install --upgrade pipenv pip
pip --version
pipenv --version

dev:
pipenv install --dev
pipenv run pip install -e .

dev-ci:
pipenv install --dev --skip-lock
pipenv run pip install -e .

dev-py2:
pipenv install --dev --two
pipenv run pip install -e .
Expand Down

0 comments on commit 8cdccc6

Please sign in to comment.