mirror of
https://github.com/kennethreitz/maya.git
synced 2026-06-05 23:00:18 +00:00
Refactor pipenv usage according to semi-official best practices. Closes #142
This commit is contained in:
+4
-1
@@ -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/
|
||||
|
||||
@@ -2,11 +2,3 @@
|
||||
freezegun = "*"
|
||||
pytest = "*"
|
||||
sphinx = "*"
|
||||
|
||||
[packages]
|
||||
humanize = "*"
|
||||
pytz = "*"
|
||||
dateparser = ">=0.7.0"
|
||||
tzlocal = "*"
|
||||
pendulum = ">=1.0"
|
||||
snaptime = "*"
|
||||
|
||||
Reference in New Issue
Block a user