language: python

python:
- 3.5

services:
- postgresql

install:
- pip install -r requirements.txt
- npm install -g node-qunit-phantomjs

before_script:
- export DATABASE_URL="postgres://postgres@localhost"
- python manage.py collectstatic --noinput

script:
- python manage.py test
- node-qunit-phantomjs ./tests/js/qunit.html

language: python

python:
- 3.5

services:
- postgresql

install:
- pip install -r requirements.txt
- npm install -g node-qunit-phantomjs

before_script:
- export DATABASE_URL="postgres://postgres@localhost"
- export EMAIL_HOST="mail.example.com"
- export EMAIL_HOST_USER="dummy_user"
- export EMAIL_HOST_PASSWORD="dummy_password"
- export CONTACT_ADDRESS="contact@example.com"
- python manage.py collectstatic --noinput

script:
- python manage.py test
- node-qunit-phantomjs ./tests/js/qunit.html

Set all the environment variables.
Set all the environment variables.
