https://github.com/GPflow/GPflow
Revision 5841a876bf02499ac49f7d356a81a546cd9eb60a authored by Hugh Salimbeni on 29 November 2018, 12:36:03 UTC, committed by Hugh Salimbeni on 29 November 2018, 12:36:03 UTC
1 parent bd2d257
Raw File
Tip revision: 5841a876bf02499ac49f7d356a81a546cd9eb60a authored by Hugh Salimbeni on 29 November 2018, 12:36:03 UTC
remove commented lines
Tip revision: 5841a87
.travis.yml
sudo: required
dist: trusty
language: python
python:
  - 3.6

install:
  - sudo apt-get update
  - if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
      wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh;
    else
      wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
    fi
  - bash miniconda.sh -b -p $HOME/miniconda
  - export PATH="$HOME/miniconda/bin:$PATH"
  - hash -r
  - conda config --set always_yes yes --set changeps1 no
  - conda update -q conda
  - conda info -a  # useful for debugging conda

  - conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION
  - source activate test-environment
  - conda install -y tensorflow==1.12.0
  - conda install -y numpy scipy pandas pytest nbformat nbconvert jupyter_client jupyter matplotlib pytest-xdist pytest-cov multipledispatch mock 
  - pip install codecov
  - python setup.py install

script:
  - ./travis.sh

cache:
  apt: true
  pip: true
  directories:
    - $HOME/.cache/pip
    - $HOME/download
back to top