language: python
python:
  - 2.7
branches:
  only:
    - development
notifications:
  email:
    - pfuideibel@gmx.net
 
# Setup anaconda in a new virtual environment
before_install:
  - wget http://repo.continuum.io/archive/Anaconda-2.1.0-Linux-x86_64.sh -O anaconda.sh
  - chmod +x anaconda.sh
  - ./anaconda.sh -b
  - export PATH=/home/travis/anaconda/bin:$PATH
  - conda update --yes conda
  - conda update --yes anaconda
#  - conda create --yes -n anacondaenv python=$TRAVIS_PYTHON_VERSION
#  - source activate anacondaenv
  - cd host
# 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 pybar with needed packages
install:
  - pip install https://github.com/walac/pyusb/archive/master.zip
  - pip install https://silab-redmine.physik.uni-bonn.de/attachments/download/695/pySiLibUSB-2.0.2.tar.gz
  - pip install https://silab-redmine.physik.uni-bonn.de/attachments/download/719/Basil-2.0.2.tar.gz
  - pip install progressbar-latest
  - python setup.py develop
 
# Run test
script:
- nosetests tests/test_analysis.py --logging-level=INFO

language: python
python:
  - 2.7
branches:
  only:
    - master
    - development
 
# Setup anaconda in a new virtual environment
before_install:
  - wget http://repo.continuum.io/archive/Anaconda-2.1.0-Linux-x86_64.sh -O anaconda.sh
  - chmod +x anaconda.sh
  - ./anaconda.sh -b
  - export PATH=/home/travis/anaconda/bin:$PATH
  - conda update --yes conda
  - conda update --yes anaconda
#  - conda create --yes -n anacondaenv python=$TRAVIS_PYTHON_VERSION
#  - source activate anacondaenv
  - cd host
# 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 pybar with needed packages
install:
  - pip install https://github.com/walac/pyusb/archive/master.zip
  - pip install https://silab-redmine.physik.uni-bonn.de/attachments/download/695/pySiLibUSB-2.0.2.tar.gz
  - pip install https://silab-redmine.physik.uni-bonn.de/attachments/download/719/Basil-2.0.2.tar.gz
  - pip install progressbar-latest
  - python setup.py develop
 
# Run test
script:
- nosetests tests/test_analysis.py --logging-level=INFO

Change E-Mail notifications and branches to autobuild
Change E-Mail notifications and branches to autobuild
