Skip to content

Commit a10b23c

Browse files
committed
Test multiple SQLAlchemy versions on Travis
1 parent 0487fbd commit a10b23c

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.travis.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,26 @@ branches:
55

66
language: python
77
python:
8-
- '3.4'
9-
- '3.5'
108
- '3.6'
9+
- '3.5'
10+
- '3.4'
1111

1212
env:
13-
- TEST_DATABASE_URL=postgresql://postgres@localhost:5432/pytest_test
13+
global:
14+
- TEST_DATABASE_URL=postgresql://postgres@localhost:5432/pytest_test
15+
16+
matrix:
17+
include:
18+
- env: SA_VERSION=1.3.*
19+
- env: SA_VERSION=1.2.*
1420

1521
addons:
1622
postgresql: '9.6'
1723

1824
install:
1925
- pip install --upgrade pip
2026
- pip install -e .[tests]
27+
- if ![ -z "$SA_VERSION" ]; then pip install --upgrade sqlalchemy=="${SA_VERSION}"; fi
2128

2229
script: pytest
2330

0 commit comments

Comments
 (0)