language: python
python:
  - "3.2"
before_install:
  - sudo apt-get install liblzma-dev
install:
  - "python setup.py install"
before_script:
  - "cd test"
script:
  - "python test_lzma.py"

language: python
python:
  - "3.1"
  - "3.2"
before_install:
  - sudo apt-get install liblzma-dev
install:
  - "python setup.py install"
before_script:
  - "cd test"
script:
  - "python test_lzma.py"

Test under Python 3.1 on TravisCI
Test under Python 3.1 on TravisCI

This isn't officially supported, and may go away, but should work for now.
See https://github.com/travis-ci/travis-ci.github.com/pull/157
