Skip to content

Commit

Permalink
Refactor pipenv usage according to semi-official best practices. Closes
Browse files Browse the repository at this point in the history
  • Loading branch information
timofurrer committed Apr 4, 2018
1 parent e0e33cc commit ca076ff
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ matrix:
- python: "3.7-dev"

# command to install dependencies
install: pip install pipenv; pipenv lock; pipenv install --dev
install:
- pip install pipenv
- pipenv install '-e .' --skip-lock --ignore-pipfile
- pipenv install --dev --skip-lock

# command to run tests
script: pipenv run pytest tests/
8 changes: 0 additions & 8 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,3 @@
freezegun = "*"
pytest = "*"
sphinx = "*"

[packages]
humanize = "*"
pytz = "*"
dateparser = ">=0.7.0"
tzlocal = "*"
pendulum = ">=1.0"
snaptime = "*"
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
'pytz',
'dateparser>=0.7.0',
'tzlocal',
'pendulum',
'pendulum>=1.0',
'snaptime'
]

Expand Down

0 comments on commit ca076ff

Please sign in to comment.