# http://travis-ci.org/#!/RDFLib/rdflib
language: python
python:
    - "2.5"
    - "2.6"
    - "2.7"
    - "3.2"
    - "pypy"

install:
    - if [[ $TRAVIS_PYTHON_VERSION == '2.5' ]]; then pip install --use-mirrors "simplejson"; fi
    - pip install -r requirements.txt --use-mirrors
    - python setup.py install
script:
    # Must run the tests in build/src so python3 doesn't get confused and run
    # the python2 code from the current directory instead of the installed
    # 2to3 version in build/src.
    - if [[ $TRAVIS_PYTHON_VERSION != '3.2' ]]; then nosetests; fi
    - if [[ $TRAVIS_PYTHON_VERSION == '3.2' ]]; then nosetests --where=./build/src; fi

# http://travis-ci.org/#!/RDFLib/rdflib
language: python
python:
    - "2.5"
    - "2.6"
    - "2.7"
    - "3.2"
    - "pypy"

install:
    - if [[ $TRAVIS_PYTHON_VERSION == '2.5' ]]; then pip install --use-mirrors "simplejson"; fi
    # iodate0.4.8 is problematic with Pypy, use fixed version
    - if [[ $TRAVIS_PYTHON_VERSION == 'pyPy' ]]; then pip install --use-mirrors "hg+https://bitbucket.org/gjhiggins/isodate"; fi
    - pip install -r requirements.txt --use-mirrors
    - python setup.py install
script:
    # Must run the tests in build/src so python3 doesn't get confused and run
    # the python2 code from the current directory instead of the installed
    # 2to3 version in build/src.
    - if [[ $TRAVIS_PYTHON_VERSION != '3.2' ]]; then nosetests; fi
    - if [[ $TRAVIS_PYTHON_VERSION == '3.2' ]]; then nosetests --where=./build/src; fi

Use pypy-compatible fork of isodate just for ci porpoises.
Use pypy-compatible fork of isodate just for ci porpoises.
