https://github.com/GPflow/GPflow
Revision f66b45f991cbdca24732c38df1b2d5b6d15916ed authored by James Hensman on 13 April 2016, 22:07:31 UTC, committed by James Hensman on 13 April 2016, 22:07:31 UTC
2 parent s b8e3d9d + 8390cff
Raw File
Tip revision: f66b45f991cbdca24732c38df1b2d5b6d15916ed authored by James Hensman on 13 April 2016, 22:07:31 UTC
Merge branch 'optimizer_tolerance' of github.com:GPflow/GPflow into optimizer_tolerance
Tip revision: f66b45f
.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
    - pip install coverage
    - pip install nose-timer

install:
    - python setup.py install

script:
    #- nosetests testing --with-coverage --cover-package=GPflow --cover-erase
    - coverage run --source=GPflow setup.py test 

after_success:       
    - codecov

back to top