-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
49 lines (42 loc) · 1.03 KB
/
.travis.yml
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
dist: xenial # required for Python >= 3.7
language: python
services:
- rabbitmq
- redis-server
python:
- "3.5"
- "3.5-dev"
- "3.6"
- "3.6-dev"
- "3.7"
- "3.7-dev"
- "3.8"
- "3.8-dev"
- "nightly"
matrix:
allow_failures:
- python: "3.5"
- python: "3.5-dev"
- python: "3.6-dev"
- python: "3.7-dev"
- python: "3.8-dev"
- python: "nightly"
# command to install dependencies
install:
- make config
- pip install coveralls
before_script:
- cp .env.example .env
- python manage.py silverback update_app_key
- python manage.py silverback update_env DB_CONNECTION=sqlite
- python manage.py silverback update_env REDIS_HOST=localhost
- python manage.py silverback update_env REDIS_PORT=6379
- python manage.py silverback update_env CELERY_BROKER_URL=amqp://guest:guest@localhost:5672
- python manage.py silverback update_env CELERY_RESULT_BACKEND=redis://localhost:6379
# command to run tests
script:
- make ci
- cat storage/logs/*.log
# Push the results back to coveralls
after_success:
- coveralls