language: python
python:
  - "3.3"
  - "3.4"
before_install:
  # use Anaconda to get compiled versions of scipy and numpy,
  # modified from https://gist.github.com/dan-blanchard/7045057
  - wget http://repo.continuum.io/miniconda/Miniconda-2.2.2-Linux-x86_64.sh -O miniconda.sh
  - chmod +x miniconda.sh
  - ./miniconda.sh -b
  - export PATH=/home/travis/anaconda/bin:$PATH
  # Update conda itself
  - conda update --yes conda
  # The next couple lines fix a crash with multiprocessing on Travis and are not specific to using Miniconda
  - sudo rm -rf /dev/shm
  - sudo ln -s /run/shm /dev/shm
install:
  - conda create --yes -n testenv python=$TRAVIS_PYTHON_VERSION pip numpy scipy nose
  - source activate testenv
  - pip install --pre oslotest  # needed until final release of oslotest?
  - python setup.py install

script: nosetests -w /tmp lda.tests

language: python
python:
  - "2.7"
  - "3.3"
  - "3.4"
before_install:
  # use Anaconda to get compiled versions of scipy and numpy,
  # modified from https://gist.github.com/dan-blanchard/7045057
  - wget http://repo.continuum.io/miniconda/Miniconda-2.2.2-Linux-x86_64.sh -O miniconda.sh
  - chmod +x miniconda.sh
  - ./miniconda.sh -b
  - export PATH=/home/travis/anaconda/bin:$PATH
  # Update conda itself
  - conda update --yes conda
  # The next couple lines fix a crash with multiprocessing on Travis and are not specific to using Miniconda
  - sudo rm -rf /dev/shm
  - sudo ln -s /run/shm /dev/shm
install:
  - conda create --yes -n testenv python=$TRAVIS_PYTHON_VERSION pip numpy scipy nose
  - source activate testenv
  - pip install --pre oslotest  # needed until final release of oslotest?
  - python setup.py install

script: nosetests -w /tmp lda.tests

Test against Python 2.7 on Travis
CI: Test against Python 2.7 on Travis
