forked from chaitin/django-pg-partitioning
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
35 lines (35 loc) · 852 Bytes
/
.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
dist: xenial
language: python
cache: pip
sudo: required
matrix:
fast_finish: true
include:
- { python: "3.6", env: DJANGO=2.0 }
- { python: "3.6", env: DJANGO=2.1 }
- { python: "3.6", env: DJANGO=2.2 }
- { python: "3.7", env: DJANGO=2.0 }
- { python: "3.7", env: DJANGO=2.1 }
- { python: "3.7", env: DJANGO=2.2 }
- { python: "3.7", env: DJANGO=master }
- { python: "3.6", env: TOXENV=lint }
- { python: "3.6", env: TOXENV=docs }
allow_failures:
- env: TOXENV=docs
- env: DJANGO=master
services:
- docker
before_install:
- sudo /etc/init.d/postgresql stop
install:
- pip install '.[dev]' tox-travis
before_script:
- docker-compose -f dev/docker-compose.yml up -d
- sleep 5
script:
- tox
after_success:
- pip install codecov
- codecov -e TOXENV,DJANGO
notifications:
email: false