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

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

# Use the newer container-based infrastructure
# http://docs.travis-ci.com/user/workers/container-based-infrastructure/
sudo: false

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

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

Use the new build env on Travis
Use the new build env on Travis

more capacity, faster vms, better boot times

http://docs.travis-ci.com/user/workers/container-based-infrastructure/

Closes #1586.
