Skip to content

Commit

Permalink
Python3
Browse files Browse the repository at this point in the history
  • Loading branch information
maiksprenger committed Jul 18, 2014
1 parent 860fab7 commit 06e10cf
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 17 deletions.
27 changes: 14 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,24 @@
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_VERSION=1.5.8
- DJANGO_VERSION=1.6.5

matrix:
allow_failures:
- python: '3.3'
- python: '3.4'
include:
- python: "2.7"
env: DJANGO_VERSION=1.5.8
- python: "2.7"
env: DJANGO_VERSION=1.6.5
- python: "3.3"
env: DJANGO_VERSION=1.5.8 SKIP_DEMO_SITE=1
- python: "3.3"
env: DJANGO_VERSION=1.6.5 SKIP_DEMO_SITE=1
- python: "3.4"
env: DJANGO_VERSION=1.5.8 SKIP_DEMO_SITE=1
- python: "3.4"
env: DJANGO_VERSION=1.6.5 SKIP_DEMO_SITE=1

install:
- easy_install Django==$DJANGO_VERSION
Expand All @@ -29,8 +31,7 @@ before_script:
- 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
script: make travis

after_success:
- coveralls
Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ testmigrations:
# (instead of upgrade) because we install Django in the .travis.yml
# and upgrade would overwrite it. We also build the sandbox as part of this target
# to catch any errors that might come from that build process.
travis: install lint coverage sandbox demo testmigrations
travis: install lint coverage sandbox testmigrations
if [ -z "$(SKIP_DEMO_SITE)" ]; then make demo; fi

messages:
# Create the .po files used for i18n
Expand Down
3 changes: 0 additions & 3 deletions requirements_demo.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,4 @@ psycopg2==2.5.1
# To use Solr, we need pysolr
pysolr==3.1

lxml==3.2.4
cssselect==0.9.1
BeautifulSoup==3.2.1
raven==4.0.3

0 comments on commit 06e10cf

Please sign in to comment.