2019-05-27 23:28:36 +03:00
|
|
|
dist: xenial
|
2016-01-18 13:56:48 +03:00
|
|
|
|
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
|
2015-11-09 02:38:52 +03:00
|
|
|
language: python
|
2016-03-03 07:43:17 +03:00
|
|
|
|
2020-03-29 20:55:27 +03:00
|
|
|
python: 3.8
|
2016-03-03 07:43:17 +03:00
|
|
|
|
|
|
|
before_install:
|
2016-08-11 12:51:53 +03:00
|
|
|
- docker-compose -v
|
|
|
|
- docker -v
|
2016-03-03 07:43:17 +03:00
|
|
|
|
2019-03-18 20:49:43 +03:00
|
|
|
matrix:
|
|
|
|
include:
|
2019-05-15 14:37:17 +03:00
|
|
|
- name: Test results
|
2020-03-29 20:55:27 +03:00
|
|
|
script: tox -e py38
|
2019-05-15 14:37:17 +03:00
|
|
|
- name: Black template
|
|
|
|
script: tox -e black-template
|
2019-03-18 20:49:43 +03:00
|
|
|
- name: Basic Docker
|
|
|
|
script: sh tests/test_docker.sh
|
|
|
|
- name: Docker with Celery
|
|
|
|
script: sh tests/test_docker.sh use_celery=y
|
2019-06-18 22:31:47 +03:00
|
|
|
- name: Bare metal
|
|
|
|
script: sh tests/test_bare.sh use_celery=y use_compressor=y
|
|
|
|
services:
|
|
|
|
- postgresql
|
|
|
|
- redis-server
|
|
|
|
env:
|
|
|
|
- CELERY_BROKER_URL=redis://localhost:6379/0
|
2015-03-27 17:04:11 +03:00
|
|
|
|
2015-11-09 02:38:52 +03:00
|
|
|
install:
|
2018-06-05 12:17:47 +03:00
|
|
|
- pip install tox
|
2014-12-18 18:32:41 +03:00
|
|
|
|
|
|
|
notifications:
|
|
|
|
email:
|
2015-04-20 15:19:12 +03:00
|
|
|
on_success: change
|
|
|
|
on_failure: always
|