diff options
author | Ben Denhartog <3893293+sudoforge@users.noreply.github.com> | 2020-10-04 08:40:34 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-04 16:40:34 +0200 |
commit | b51a1c8a466c9737fc0baa515066ac712b9b7233 (patch) | |
tree | 27f9f6ef7690177df396ea90ab4ae61a0c49ab2e /.travis.yml | |
parent | 52943dd4095ea44f0664fc521427dd37c982e852 (diff) | |
download | wee-slack-b51a1c8a466c9737fc0baa515066ac712b9b7233.tar.gz |
feat: use pipenv to manage the development environment (#784)
[Pipenv][0] makes it easier to maintain a consistent development
environment for projects using Python. You no longer need to manage
`pip` and `virtualenv` separately, nor deal with the drift and other
issues requirements.txt brings. It enables gaining insights into your
dependency graph, but most importantly - it enables deterministic
builds, which prevents the entire class of "it works on my machine"
problems.
[Pipenv][0] is similar to package managers from other ecosystems, such
as Node.js' `npm` or Rust's `cargo`. Additionally, [Pipenv][0] is an
[officially recommended package manager][1] by the Python project.
This patch brings [Pipenv][0] to the wee-slack project to simplify the
development and contribution experience. Additionally, this patch brings
basic contributing documentation to help onboarding.
[0]: https://github.com/pypa/pipenv
[1]: https://packaging.python.org/tutorials/managing-dependencies/#managing-dependencies
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index bf69238..5b43ff3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,8 @@ python: cache: pip install: - - pip install flake8 pytest websocket-client + - pip install pipenv + - pipenv install --dev --system before_script: # stop the build if there are Python syntax errors or undefined names @@ -15,7 +16,7 @@ before_script: - flake8 . --exit-zero --select=C,E,F,W script: - - python -m pytest + - pytest notifications: irc: "chat.freenode.net#wee-slack-dev" |