language: python
python:
  - 2.5
  - 2.6
  - 2.7
  - 3.2
  - 3.3
matrix:
  include:
    - python: 2.7
      env: TEST_GMPY="true"
    - python: 3.3
      env: TEST_GMPY="true"
    - python: 2.7
      env: TEST_SPHINX="true"
before_install:
  - if [[ "${TEST_GMPY}" == "true" ]]; then
      sudo apt-get update -qq;
      sudo apt-get install -qq libgmp-dev;
      pip install "gmpy==1.16";
    fi
  - if [[ "${TEST_SPHINX}" == "true" ]]; then
      pip install sphinx;
    fi
install:
  - if [[ $TRAVIS_PYTHON_VERSION == '3.2' || $TRAVIS_PYTHON_VERSION == '3.3' ]]; then python bin/use2to3; cd py3k-sympy; fi
  - python setup.py install
script:
  - bin/test_travis.sh
notifications:
  email: false

language: python
python:
  - 2.5
  - 2.6
  - 2.7
  - 3.2
  - 3.3
matrix:
  include:
    - python: 2.7
      env: TEST_GMPY="true"
    - python: 3.3
      env: TEST_GMPY="true"
    - python: 2.7
      env: TEST_SPHINX="true"
before_install:
  - if [[ "${TEST_GMPY}" == "true" ]]; then
      sudo apt-get update -qq;
      sudo apt-get install -qq libgmp-dev;
      pip install "gmpy==1.16";
    fi
  - if [[ "${TEST_SPHINX}" == "true" ]]; then
      pip install "sphinx==1.1.3";
    fi
install:
  - if [[ $TRAVIS_PYTHON_VERSION == '3.2' || $TRAVIS_PYTHON_VERSION == '3.3' ]]; then python bin/use2to3; cd py3k-sympy; fi
  - python setup.py install
script:
  - bin/test_travis.sh
notifications:
  email: false

Use an older version of Sphinx, which is known to work
Use an older version of Sphinx, which is known to work

This is to work around https://code.google.com/p/sympy/issues/detail?id=3623.
