Skip to content
This repository has been archived by the owner on Jun 8, 2022. It is now read-only.

Commit

Permalink
Migrate to poetry (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
ovv authored Nov 29, 2018
1 parent e3a3d3e commit 56ad784
Show file tree
Hide file tree
Showing 11 changed files with 815 additions and 842 deletions.
4 changes: 0 additions & 4 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,2 @@
python:
pip_install: true
extra_requirements:
- doc
conda:
file: docs/environment.yml
18 changes: 9 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,27 +27,27 @@ matrix:
dist: xenial
sudo: true

env:
global:
- secure: "pPCYxAdBBMpl0hRWPtX5q75eBKbxU9Vccrms72D3pB4yrL6cKOrR3+/3BYU+81J18dZHXxaetSJ5DmbarYrOi5tnuigr7E6Z4zEA7RBBNyUfIe+g2sNK8tDBQjRrPpgHlKAFpySPOdU2E4Z0fi58EkTf7UfwVHyx3ouUqiwfNqn8UwCsWwGjeIfmyHi1Sj7DzTHNYLr9HfceGF/EkW+UDy2ZqDmzyuyCCwtzeKr7qDPpUM2G8HNf25F4pdNiv8S1T13cHFfXD/cCvGFFW2fs6a7LN0yfOUi7jpp3eobDW1NWbEfA2A3PyQS+jtIdxgS0mwnOrVeBFxuI5dWD1+RLdaESOQunJKErWDl2N7FAEdZCegV3udseuGMomUjwSNonlI1X8NYG9Wcz3Ks0ZS3KdaQuDATwDWPMWUi2uZIdbhDuzBKNIK3kAY2ck1Tk4+W/hgDtiCusGiGT2ip77R07kaH8ohr1v5T4FL5Bhv7IHDganWg3SXBgeGrQY9XGJevkFePgfxgQLKI1/oxb38xhzXduxGHHb/vJrVCSUvVmgLZoZDCvMt3i6T6zt3aEwgEYG6xdlkH0JRF45k4XM3FzPMJEl8RQydvgUAfroB7OkD8jhCc20lBAhDJpAfGqJuDn+9OdyYzsrLoybwahmqL4UKnDeDq+t+veppnDrc6ghPw="

install:
- pip install pipenv
- pipenv install --system --deploy --dev
- pip install poetry tox tox-travis coveralls

before_script:
- psql -c 'create database sirbot;' -U postgres

script:
- pipenv run tests/test.sh postgres
- tox

after_success:
- coveralls

deploy:
- provider: pypi
distributions: sdist bdist_wheel
user: Ovv
password:
secure: abuXsWRiaawFvA8xleYW25gGMeYfG/6ZnbbfB/A0E/ZETUk4OoxBLrSQszdX78cxRe3p1MOIwDBABJRE2QozCaC5GK3FsNHdHoGmUYDT3VBsaPjj/G796r9W/EaO4Iwg/SqVi2vIFfpxx5Xgn+V1jWcHweBM/d+sNi1MdeshKwLHBQn1gEeUT2HMXSdyHsPDmXU7j2hvgo6s8mhvJ2s/bxSffgr5ay5tzOMMKjMaQGVVv5HMiiWMYV/h6R9UUt9cpBc6zCau6VzZ5v1lMYcuZaAdEQYo23A1wThpeDHlbpxFdChDsJN6bbr6Vr4bpCxp3yTg5fGL1xiquIm/eK8Uwru92+tQ+oSrRoBfQ4CmaBPa1RJyasS2eSuEUIkscbrbczT+n/v2yfJCW1qgwhrygDIfRtvfYe0Y6CZWvruaJEBTPvHcJrQwFVyofdAwon2c8xWh4OwEGHxPeZvlkyc5jQvkJt9X5Qhv6RKHL8QkyP8FGCLvEGeMrXNTT7soIr1LEwG+DiVovVF9B/s0ZabbPWvL6C91evE48lUp7Q2zMw8gucl0JicJ4YRw4GKZ+T6pHvQOASf020D2j6H96UwyCYjBJoYwppsQ8GL4AL6Kb0C1cr6XjEmfBBk0MWuKQsNrVafr9LKirEnMVFo+0x2rMMFz/w8o7d/5g+hXJoED2ns=
- provider: script
script: poetry publish --username Ovv --password $PYPI_PASS --build
on:
repo: pyslackers/sir-bot-a-lot-2
branch: master
python: '3.6'
python: '3.7'
tags: true
36 changes: 0 additions & 36 deletions Pipfile

This file was deleted.

709 changes: 0 additions & 709 deletions Pipfile.lock

This file was deleted.

63 changes: 62 additions & 1 deletion docs/environment.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,64 @@
name: sir-bot-a-lot-doc
dependencies:
- python=3.6
- python=3.7
- pip:
- aiofiles==0.4.0
- aiohttp==3.4.4
- alabaster==0.7.12
- appdirs==1.4.3
- APScheduler==3.5.3
- async-timeout==3.0.1
- asyncio-contextmanager==1.0.1
- asyncpg==0.18.2
- asynctest==0.12.2
- atomicwrites==1.2.1
- attrs==18.2.0
- Babel==2.6.0
- black==18.9b0
- certifi==2018.10.15
- chardet==3.0.4
- Click==7.0
- coverage==4.5.2
- docutils==0.14
- filelock==3.0.10
- flake8==3.6.0
- gidgethub==3.0.0
- idna==2.7
- imagesize==1.1.0
- isort==4.3.4
- Jinja2==2.10
- MarkupSafe==1.1.0
- mccabe==0.6.1
- more-itertools==4.3.0
- multidict==4.5.1
- packaging==18.0
- pluggy==0.8.0
- pockets==0.7.2
- py==1.7.0
- pycodestyle==2.4.0
- pyflakes==2.0.0
- Pygments==2.3.0
- pyparsing==2.3.0
- pytest==4.0.1
- pytest-aiohttp==0.3.0
- pytest-asyncio==0.9.0
- pytest-cov==2.6.0
- pytest-cover==3.0.0
- pytest-coverage==0.0
- pytz==2018.7
- requests==2.20.1
- six==1.11.0
- slack-sansio==0.7.0
- snowballstemmer==1.2.1
- Sphinx==1.8.2
- sphinxcontrib-asyncio==0.2.0
- sphinxcontrib-napoleon==0.7
- sphinxcontrib-websupport==1.1.0
- toml==0.10.0
- tox==3.5.3
- tzlocal==1.5.1
- ujson==1.35
- uritemplate==3.0.0
- urllib3==1.24.1
- virtualenv==16.1.0
- yarl==1.2.6
Loading

0 comments on commit 56ad784

Please sign in to comment.