language: python
python:
  - "2.7"
sudo: false
before_install:
  - pip install nose
  - pip install numpy
  - pip install scipy
  - pip install netCDF4
  - pip install affine
install:
  - python setup.py install
script:
  - nosetests

language: python
python:
  - "2.7_with_system_site_packages"
before_install:
  - sudo apt-get install -qq python-numpy python-scipy
  - pip install nose
  - pip install netCDF4
  - pip install affine
install:
  - python setup.py install
script:
  - nosetests

Install numpy and scipy with system site packages
Install numpy and scipy with system site packages

Otherwise, scipy doesn't build. See https://github.com/travis-ci/travis-ci/issues/2890.
