forked from incuna/django-pgcrypto-fields
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
37 lines (37 loc) · 842 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
language: python
sudo: required
dist: xenial
python:
- 3.5
- 3.6
- 3.7
- 3.8-dev
script: make test-coveralls
notifications:
email: false
services:
- postgresql
before_script:
- psql -c 'CREATE DATABASE pgcrypto_fields' -U postgres
- psql -c 'CREATE DATABASE pgcrypto_fields_diff' -U postgres
install:
- pip install -e .
- pip install -r requirements_dev.txt
- pip install $DJANGO
env:
matrix:
- DJANGO='django>=1.11,<2.0'
- DJANGO='django>=2.0,<2.1'
- DJANGO='django>=2.1,<2.2'
- DJANGO='django>=2.2,<2.3'
- DJANGO='django>=3.0,<3.1'
- DJANGO='--upgrade --pre django'
jobs:
exclude:
- python: 3.5
env: DJANGO='django>=3.0,<3.1' # Python 3.5 is not supported by Django 3
matrix:
fast_finish: true
allow_failures:
- env: DJANGO='--upgrade --pre django'
- python: 3.8-dev