language: python
python:
    - 2.7
    - 3.3
before_install:
    - pip install numpy
script:
    - (cd $TRAVIS_BUILD_DIR && cd sphinx && make html)
    - (cd $TRAVIS_BUILD_DIR && python -m unittest discover)

language: python
python:
    - 2.7
    - 3.3
before_install:
    - pip install numpy
    - pip install sphinx
    - pip install sphinxcontrib-napoleon
script:
    - (cd $TRAVIS_BUILD_DIR && cd sphinx && make html)
    - (cd $TRAVIS_BUILD_DIR && python -m unittest discover)

Add sphinx and sphinx-napoleon pip-installs
Add sphinx and sphinx-napoleon pip-installs