-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
.travis.yml
45 lines (40 loc) · 995 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
36
37
38
39
40
41
42
43
44
45
language: python
sudo: false
dist: trusty
addons:
postgresql: "9.6"
apt:
packages:
- postgresql-server-dev-9.6
services:
- postgresql
matrix:
include:
# These are quick and often catch errors, so list them first
- python: 3.6
env: CHECK_DOCS=1
- python: 3.6
env: CHECK_FORMATTING=1
- python: 3.6
# As of 2018-07-05, Travis's 3.7 and 3.8 builds only work if you
# use dist: xenial AND sudo: required
# See: https://github.com/python-trio/trio/pull/556#issuecomment-402879391
- python: 3.7
dist: xenial
sudo: required
# Currently asyncpg uses deprecated `loop` argument, which cause error
# due to pytest run in `-W error` mode
# - python: 3.8-dev
# dist: xenial
# sudo: required
- os: osx
language: generic
env: MACPYTHON=3.6.6
- os: osx
language: generic
env: MACPYTHON=3.7.0
before_script:
- which pg_config
- pg_config --version
script:
- ci/travis.sh