forked from django-tenants/django-tenants
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
45 lines (39 loc) · 945 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
python:
- 3.5
- 3.6
- 3.7
- 3.8
dist: xenial
addons:
postgresql: "9.6"
services:
- postgresql
env:
- DJANGO="Django>=2.0,<2.1"
- DJANGO="Django>=2.1,<2.2"
- DJANGO="Django>=2.2,<2.3"
- DJANGO="Django>=3.0,<3.1"
matrix:
exclude:
- python: 3.8
env: DJANGO="Django>=1.11,<1.12"
- python: 3.8
env: DJANGO="Django>=2.0,<2.1"
- python: 2.7
env: DJANGO="Django>=2.1,<2.2"
- python: 3.8
env: DJANGO="Django>=2.1,<2.2"
- python: 3.8
env: DJANGO="Django>=2.2,<2.3"
- python: 3.5
env: DJANGO="Django>=3.0,<3.1"
install:
- pip install -U pip
- if [[ $TRAVIS_PYTHON_VERSION == pypy* ]]; then pip install psycopg2cffi; fi
- if [[ $TRAVIS_PYTHON_VERSION != pypy* ]]; then pip install psycopg2; fi
- pip install "$DJANGO"
- python setup.py develop
before_script:
- psql -c 'create database dts_test_project;' -U postgres
script: ./run_tests.sh