https://github.com/GPflow/GPflow
Revision bac97289f9c3194f13729eb6b8531b4c6afcaec8 authored by st-- on 10 May 2018, 15:52:22 UTC, committed by Mark van der Wilk on 10 May 2018, 15:52:22 UTC
Some parameters of size 1 need to be squeezed to scalars before they can be viewed with TensorBoard.
1 parent aa98c55
Raw File
Tip revision: bac97289f9c3194f13729eb6b8531b4c6afcaec8 authored by st-- on 10 May 2018, 15:52:22 UTC
fix for Param(shape=(1,)) in ModelTensorBoard (#752)
Tip revision: bac9728
.travis.yml
sudo: required
dist: trusty
language: python
python:
  - 3.6

before_install:
  - sudo apt-get update -qq

install:
  - pip install numpy scipy pandas pytest nbformat nbconvert jupyter_client jupyter matplotlib pytest-xdist pytest-cov codecov multipledispatch
  - pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.6.0-cp36-cp36m-linux_x86_64.whl
  - python setup.py install

script:
  - pytest -W ignore::UserWarning --durations=5 --cov=./ -d --tx 3*popen//python=python3.6 --pyargs tests
  - codecov --token=2ae2a756-f39c-467c-bd9c-4bdb3dc439c8

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