language: python

python:
    - 2.6
    - 2.7
    - 3.4
    - 3.3

env:
    - NUMPY_VERSION=1.8 OMP_NUM_THREADS=2

before_install:
    - wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
    - chmod +x miniconda.sh
    - ./miniconda.sh -b -p $HOME/miniconda/
    - export PATH=$HOME/miniconda/bin:$PATH
    - conda update --yes conda

install:
    - conda create --yes -n test python=$TRAVIS_PYTHON_VERSION
    - source activate test
    - conda install --yes numpy=$NUMPY_VERSION nose mpi4py cython
    - python setup.py install

script: 
    - cd tests; python ./test.py


language: python

python:
    - 2.6
    - 2.7
    - 3.4
    - 3.3

env:
    - NUMPY_VERSION=1.8 OMP_NUM_THREADS=2

before_install:
    - wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
    - chmod +x miniconda.sh
    - ./miniconda.sh -b -p $HOME/miniconda/
    - export PATH=$HOME/miniconda/bin:$PATH
    - conda update --yes conda

install:
    - conda create --yes -n test python=$TRAVIS_PYTHON_VERSION
    - source activate test
    - conda install --yes numpy=$NUMPY_VERSION nose mpi4py cython
    - python setup.py install

script: 
    - cd tests; mpirun -n 4 python ./test.py


Use mpirun to run the test.
Use mpirun to run the test.
