https://github.com/GPflow/GPflow
Revision 88673b83cf868a8e8213aa5c375633a42a849c2a authored by vdutor on 17 December 2018, 10:56:03 UTC, committed by vdutor on 17 December 2018, 10:56:03 UTC
Tip revision: 88673b83cf868a8e8213aa5c375633a42a849c2a authored by vdutor on 17 December 2018, 10:56:03 UTC
Merge branch 'develop' into vincent/broadcasting-mixing-conditional
Merge branch 'develop' into vincent/broadcasting-mixing-conditional
Tip revision: 88673b8
.travis.yml
sudo: required
dist: trusty
language: python
python:
- 3.6
env:
global:
- CONDA=$HOME/miniconda
matrix:
- TEST_SUITE=units
- TEST_SUITE=notebooks
before_install:
- if [ -d "$CONDA/bin" ]; then
echo "Use cached miniconda";
export PATH="$CONDA/bin:$PATH";
else
mkdir -p $HOME/downloads;
rm -rf $CONDA;
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O $HOME/downloads/miniconda.sh;
bash $HOME/downloads/miniconda.sh -b -p $CONDA;
export PATH="$CONDA/bin:$PATH";
conda create -y -q -n testenv python=3.6;
fi
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda info -a
install:
<<<<<<< HEAD
- 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.12.0-cp36-cp36m-linux_x86_64.whl
- python setup.py install
=======
- source activate testenv
- conda install -y tensorflow==1.12.0 numpy scipy pandas pytest nbformat nbconvert jupyter_client jupyter matplotlib pytest-xdist pytest-cov multipledispatch mock
- pip install codecov
>>>>>>> develop
cache:
apt: true
directories:
- $CONDA
before_cache:
- pip uninstall -y gpflow
- rm -rf $CONDA/locks $CONDA/pkgs $CONDA/var $CONDA/conda-meta/history
- rm -rf $CONDA/envs/testenv/var $CONDA/envs/testenv/conda-meta/history
- rm -rf $CONDA/envs/testenv/lib/python3.6/site-packages/gpflow*
- find $CONDA/envs/testenv/ | grep -E "(__pycache__|\.pyc$)" | xargs rm -rf
script:
- pip install -e .
- ./travis.sh
jobs:
include:
- stage: prepare cache
script: true
stages:
- prepare cache
- test
Computing file changes ...