language: python
python:
  - "2.7_with_system_site_packages"
  - "3.4"
  - "3.5"
cache: pip
services:
  - postgresql
env:
  - STATIC_ROOT='/home/travis/bustimes-static/'
addons:
  apt:
    packages:
      - pylint
      - python-bs4
      - python-dateutil
      - python-lxml
      - python-psycopg2
      - python-requests
before_script:
  - pip install -r requirements-test.txt
  - psql -U postgres -c 'create extension postgis'
  - psql -U postgres -c 'create database bustimes'
  - ./manage.py migrate
  - gem install sass
  - npm install yuglify
  - ./manage.py collectstatic --noinput
script:
  - PYTHONWARNINGS=all coverage run manage.py test -v 3
  - pylint buses busstops departures txc | cat
  - flake8
after_success:
  coveralls

language: python
python:
  - "2.7"
  - "3.4"
  - "3.5"
cache: pip
services:
  - postgresql
env:
  - STATIC_ROOT='/home/travis/bustimes-static/'
before_script:
  - pip install -r requirements-test.txt
  - psql -U postgres -c 'create extension postgis'
  - psql -U postgres -c 'create database bustimes'
  - ./manage.py migrate
  - gem install sass
  - npm install yuglify
  - ./manage.py collectstatic --noinput
script:
  - PYTHONWARNINGS=all coverage run manage.py test -v 3
  - pylint buses busstops departures txc | cat
  - flake8
after_success:
  coveralls

Revert "Flirt with site packages again"
Revert "Flirt with site packages again"

This reverts commit 2bf0713a28fab7d40595a32b1a620da92936452f.
