Refactor pipenv usage according to semi-official best practices. Closes #142

This commit is contained in:
Timo Furrer
2018-04-04 19:58:30 +02:00
parent e0e33cc29f
commit ca076ff625
3 changed files with 5 additions and 10 deletions
+4 -1
View File
@@ -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
View File
@@ -2,11 +2,3 @@
freezegun = "*"
pytest = "*"
sphinx = "*"
[packages]
humanize = "*"
pytz = "*"
dateparser = ">=0.7.0"
tzlocal = "*"
pendulum = ">=1.0"
snaptime = "*"
+1 -1
View File
@@ -25,7 +25,7 @@ required = [
'pytz',
'dateparser>=0.7.0',
'tzlocal',
'pendulum',
'pendulum>=1.0',
'snaptime'
]