# .travis.yml automatically generated by ".travis.yml.sh"

# Container-based builds used if "sudo: false" --> fast boot (1-6s)
# https://docs.travis-ci.com/user/ci-environment/
sudo: false

language: python
python:
  - "2.7"
  - "3.3"
  - "3.4"
  - "3.5"
  - "pypy"
  - "pypy3"

env:
  global:
    - PGDATABASE="django_ddp_test_project"
    - PGUSER="postgres"
  matrix:
    - DJANGO="1.8"
    - DJANGO="1.9"

# Django 1.9 dropped support for Python 3.3
matrix:
  exclude:
    - python: "3.3"
      env: DJANGO="1.9"

services:
  - postgresql

before_install:
  - curl https://install.meteor.com/ | sh

install:
  - pip install -U tox coveralls setuptools

before_script:
  - env | sort
  - psql -c "create database ${PGDATABASE};"

script:
  - PATH="$HOME/.meteor:$PATH" tox -vvvv -e $( echo $TRAVIS_PYTHON_VERSION | sed -e 's/^2\./py2/' -e 's/^3\./py3/' )-django${DJANGO}

after_success:
  coveralls

# .travis.yml automatically generated by ".travis.yml.sh"

# Container-based builds used if "sudo: false" --> fast boot (1-6s)
# https://docs.travis-ci.com/user/ci-environment/
sudo: false

language: python
python:
  - "2.7"
  - "3.3"
  - "3.4"
  - "3.5"
  - "pypy"
  - "pypy3"

env:
  global:
    - PGDATABASE="django_ddp_test_project"
    - PGUSER="postgres"
  matrix:
    - DJANGO="1.8"
    - DJANGO="1.9"

# Django 1.9 dropped support for Python 3.3
matrix:
  exclude:
    - python: "3.3"
      env: DJANGO="1.9"

services:
  - postgresql

before_install:
  - curl https://install.meteor.com/ | sh

install:
  - pip install -U tox coveralls setuptools

before_script:
  - env | sort
  - psql -c "create database ${PGDATABASE};" postgres

script:
  - PATH="$HOME/.meteor:$PATH" tox -vvvv -e $( echo $TRAVIS_PYTHON_VERSION | sed -e 's/^2\./py2/' -e 's/^3\./py3/' )-django${DJANGO}

after_success:
  coveralls

Create DB using default DB credentials.
Create DB using default DB credentials.
