Skip to content

Commit

Permalink
Move requirements to ci/, add a bunch of metadata files
Browse files Browse the repository at this point in the history
  • Loading branch information
smurfix committed Feb 13, 2018
1 parent d59812b commit 6cd6583
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 7 deletions.
9 changes: 9 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[run]
branch=True
source=trio_amqp

[report]
precision = 1
exclude_lines =
pragma: no cover
abc.abstractmethod
10 changes: 10 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# https://docs.readthedocs.io/en/latest/yaml-config.html
formats:
- htmlzip
- epub

requirements_file: ci/rtd-requirements.txt

python:
version: 3
pip_install: True
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ python:
services:
- rabbitmq
install:
- pip install -r requirements.txt
- pip install -r requirements_dev.txt
- pip install -r ci/requirements.txt
- pip install -r ci/requirements_dev.txt
- pip install --editable .
- pip freeze
env:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ test:


update:
pip install -r requirements_dev.txt
pip install -r ci/requirements_dev.txt


### semi-private targets used by polyconseil's CI (copy-pasted from blease) ###
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ tests

To run the tests, you'll need to install the Python test dependencies::

pip install -r requirements_dev.txt
pip install -r ci/requirements_dev.txt

Tests require an instance of RabbitMQ. You can start a new instance using docker::

Expand Down
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[tox]
envlist = py33, py34, py35, py36
envlist = py35, py36
skipsdist = true
skip_missing_interpreters = true

[testenv]
whitelist_externals = bash
deps =
-rrequirements_dev.txt
-rci/requirements_dev.txt
commands =
nosetests
py.test-3

0 comments on commit 6cd6583

Please sign in to comment.