language: python

python:
  - "2.6"
  - "2.7"
  - "3.2"
  - "3.3"
  - "3.4"
  - "3.5"

env:
  - BERKELEYDB_DIR=/usr

before_install:
  - sudo apt-get update -qq
  - sudo apt-get install -qq -y libdb5.1-dev

install:
  - if [[ $TRAVIS_PYTHON_VERSION == 2.6 ]]; then pip install unittest2; fi
  - pip install -r requirements.pip

script: nosetests

language: python

python:
  - "2.6"
  - "2.7"
  - "3.2"
  - "3.3"
  - "3.4"
  - "3.5"

env:
  - BERKELEYDB_DIR=/usr

before_install:
  - sudo apt-get update -qq
  - sudo apt-get install -qq -y libdb5.1-dev

install:
  - if [[ $TRAVIS_PYTHON_VERSION == 2.6 ]]; then pip install unittest2; fi
  - pip install git+https://github.com/RDFLib/rdflib-sqlalchemy.git
  - pip install -r requirements.pip

script: nosetests

Add rdflib-sqlalchemy to Travis config
Add rdflib-sqlalchemy to Travis config

To allow Travis to test the SQLAlchemy+sqlite backend engine we need
it to install rdflib-sqlalchemy. This RDFLib plug-in isn't available
in pypi so install it directly from github.

Note that we don't make this a package requirement as folks may not
want to pull in SQLAlchemy if they aren't planning on using it.
