forked from disqus/django-bitfield
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
49 lines (41 loc) · 899 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
46
47
48
49
language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "3.4"
env:
- DJANGO=1.2.7
- DJANGO=1.3.7
- DJANGO=1.4.12
- DJANGO=1.5.7
- DJANGO=1.6.4
matrix:
exclude:
- python: "3.2"
env: DJANGO=1.2.7
- python: "3.3"
env: DJANGO=1.2.7
- python: "3.4"
env: DJANGO=1.2.7
- python: "3.2"
env: DJANGO=1.3.7
- python: "3.3"
env: DJANGO=1.3.7
- python: "3.4"
env: DJANGO=1.3.7
- python: "3.2"
env: DJANGO=1.4.12
- python: "3.3"
env: DJANGO=1.4.12
- python: "3.4"
env: DJANGO=1.4.12
before_script:
- psql -c 'create database bitfield_test;' -U postgres
install:
- pip install Django==$DJANGO
- "if [[ $DJANGO == '1.2.7' ]]; then pip install psycopg2==2.4.1; fi"
- "if [[ $DJANGO == '1.3.7' ]]; then pip install psycopg2==2.4.1; fi"
- pip install -e .
script: python setup.py test