https://github.com/GPflow/GPflow
Tip revision: 562a8a231b90444e780c4a15b12448c6079efde3 authored by Joachim van der Herten on 26 June 2017, 19:37:46 UTC
Fix attribute env parameter for fast tests
Fix attribute env parameter for fast tests
Tip revision: 562a8a2
.travis.yml
sudo: required
dist: trusty
language: python
python:
- 3.5
cache: pip
install:
- sudo apt-get update
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
- 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
# Useful for debugging any issues with conda
- conda info -a
# Replace dep1 dep2 ... with your dependencies
- conda create -q -n test-environment python=3.5 numpy scipy pandas nose nbformat nbconvert jupyter_client jupyter matplotlib
- source activate test-environment
- pip install https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.0.0-cp35-cp35m-linux_x86_64.whl
- python setup.py install
env:
- ATTRIBUTE="-a speed=slow"
- ATTRIBUTE="-A speed!='slow'"
script:
- nosetests $ATTRIBUTE --nologcapture --processes=2 --process-timeout=600 testing