forked from django-oscar/django-oscar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
39 lines (32 loc) · 1.04 KB
/
.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
language: python
python:
- '2.7'
- '3.3'
- '3.4'
env:
global:
# $TRANSIFEX_PASSWORD for oscar_bot (used in transifex.sh)
secure: FuIlzEsGJiAwhaIRBmRNsq9eXmuzs25fX6BChknW4lDyVAySWMp0+Zps9Bd0JgfFYUG3Ip+OTmksYIoTUsG25ZJS9cq1IFt3QKUAN70YCI/4ZBLeIdICPEyxq+Km179+NeEXmBUug17RLMLxh3MWfO+RKUHK9yHIPNNpq0dNyoo=
matrix:
- DJANGO=Django==1.6.5
- DJANGO=https://www.djangoproject.com/download/1.7c2/tarball/#egg=Django
matrix:
allow_failures:
- env: "DJANGO=Django==1.6.5"
python: '3.3'
- env: "DJANGO=Django==1.6.5"
python: '3.4'
install:
- easy_install $DJANGO
before_script:
# Create testing databases for running migrations against
- mysql -e 'create database oscar_vagrant;'
- psql -c 'create database oscar_vagrant;' -U postgres
# Create database for building demo site
- psql -c 'create database oscar_demo;' -U postgres
- psql -c 'CREATE EXTENSION postgis; CREATE EXTENSION postgis_topology;' -U postgres -d oscar_demo
script:
- make travis
after_success:
- coveralls
- ./transifex.sh