-
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy path.travis.yml
More file actions
25 lines (25 loc) · 648 Bytes
/
.travis.yml
File metadata and controls
25 lines (25 loc) · 648 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
language: python
dist: focal
python:
- 3.6
- 3.7
- 3.8
- 3.9
services:
- rabbitmq
install:
- pip install -r ci/requirements.txt
- pip install -r ci/requirements_dev.txt
- pip install --editable .
- pip freeze
env:
- AMQP_VHOST=test PYTEST=py.test
before_script:
- sudo rabbitmq-plugins enable rabbitmq_management
- wget http://guest:guest@localhost:15672/cli/rabbitmqadmin -O rabbitmqadmin
- chmod +x rabbitmqadmin
- ./rabbitmqadmin declare user name=guest password=guest tags=administrator
- ./rabbitmqadmin declare vhost name=test
- ./rabbitmqadmin declare permission vhost=test user=guest read=".*" write=".*" configure=".*"
script:
- make test