https://github.com/GPflow/GPflow
Revision fdb8efbd1355280fa088643fad85692431b68adb authored by Vincent Dutordoir on 28 November 2018, 19:37:13 UTC, committed by Artem Artemev on 28 November 2018, 19:37:13 UTC
1 parent 18fa159
Raw File
Tip revision: fdb8efbd1355280fa088643fad85692431b68adb authored by Vincent Dutordoir on 28 November 2018, 19:37:13 UTC
Support TensorFlow 1.12 (#877)
Tip revision: fdb8efb
.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