https://github.com/GPflow/GPflow
Revision e2a9ff7b1ec74b42ac651cac7cdee15802c6b6f4 authored by James Hensman on 22 March 2016, 18:57:36 UTC, committed by James Hensman on 22 March 2016, 18:57:36 UTC
1 parent f898633
Raw File
Tip revision: e2a9ff7b1ec74b42ac651cac7cdee15802c6b6f4 authored by James Hensman on 22 March 2016, 18:57:36 UTC
bugfix
Tip revision: e2a9ff7
.travis.yml
sudo: required
dist: trusty    
language: python
python:
    - "2.7"

before_install:
     #Install a mini version of anaconda such that we can easily install our dependencies
    - wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh;
    - bash miniconda.sh -b -p $HOME/miniconda
    - export PATH="$HOME/miniconda/bin:$PATH"
    - conda config --set always_yes yes --set changeps1 no
    - conda update -q conda
    - conda create --yes -n condaenv python=2.7
    - conda install --yes -n condaenv pip
    - source activate condaenv
    - conda install nose # install nose via conda to make sure nosetest run in the conda environment
    - conda install scipy # GPflow needs scipy: installing through conda is easier than relying on setup.py
    - pip install http://mlg.eng.cam.ac.uk/matthews/GPflow/python_packages/version_0.3/linux/tensorflow-0.7.1-py2-none-any.whl
    - pip install codecov

install:
    - python setup.py install

script:
    - nosetests testing --nologcapture --with-coverage --cover-package=GPflow --cover-erase

after_success:       
    - codecov

back to top