language: python

python:
  - 2.7
  - 3.3

before_install:
  - wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
  - chmod +x miniconda.sh
  - ./miniconda.sh -b
  - export PATH=/home/travis/miniconda/bin:$PATH
  - 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 install --yes python=$TRAVIS_PYTHON_VERSION atlas numpy nose 
  - conda install --yes -c dan_blanchard python-coveralls nose-cov
  - sudo apt-get update -qq
  - sudo apt-get install -qq fglrx=2:8.960-0ubuntu1 opencl-headers 
  - pip install pyopencl
  - pip install coveralls
  - source addThisDirToPythonPath.sh
  - export PYOPENCL_CTX=0

script:
  - nosetests --with-coverage --cover-package=uci --logging-level=INFO
     
after_success:
  - coveralls --rcfile=.coveragerc

language: python

python:
  - 2.7
  - 3.3

before_install:
  - wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
  - chmod +x miniconda.sh
  - ./miniconda.sh -b
  - export PATH=/home/travis/miniconda/bin:$PATH
  - 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 install --yes python=$TRAVIS_PYTHON_VERSION atlas numpy nose 
  - conda install --yes -c dan_blanchard python-coveralls nose-cov
  - sudo apt-get update -qq
  - sudo apt-get install -qq fglrx=2:8.960-0ubuntu1 opencl-headers 
  - pip install pyopencl
  - pip install coveralls
  - pip install .
  - export PYOPENCL_CTX=0

script:
  - nosetests --with-coverage --cover-package=uci --logging-level=INFO
     
after_success:
  - coveralls --rcfile=.coveragerc

Use new setup.py in ci.
Use new setup.py in ci.
