Skip to content

Commit 1ee4548

Browse files
committed
See about multiple Pythons on Travis
1 parent 4d64525 commit 1ee4548

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.travis.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,17 @@
11
language: python
2+
python:
3+
- 2.6
4+
- 2.7
5+
- 3.0
6+
- 3.1
7+
- 3.2
8+
- 3.3
9+
- 3.4
10+
install:
11+
- python setup.py -q install
12+
- pip install --use-mirrors pytest
213
before_script:
3-
- psql -U postgres -c 'CREATE DATABASE "test";'
4-
- pip install pytest
14+
- psql -U postgres -c 'CREATE DATABASE "test";'
515
script: DATABASE_URL=postgres://postgres@localhost/test py.test tests.py -v
616
notifications:
717
email: false

0 commit comments

Comments
 (0)