forked from django-oscar/django-oscar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (33 loc) · 1.15 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
40
41
# Use the newer container-based infrastructure
# http://docs.travis-ci.com/user/workers/container-based-infrastructure/
sudo: false
# Cache pip downloads
cache:
directories:
- $HOME/.pip-cache/
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.8
- DJANGO=Django==1.7.1
install:
- pip install -e . -r requirements.txt $DJANGO --download-cache $HOME/.pip-cache
before_script:
# Create testing databases for running migrations against
- mysql -e 'CREATE DATABASE oscar_travis;'
- psql -c 'CREATE DATABASE oscar_travis;' -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