Skip to content

Commit 073007b

Browse files
author
Junpeng Lao
authored
Merge pull request #2355 from aseyboldt/travis-cache
Cache .theano on travis
2 parents 5c740d4 + 6e9e301 commit 073007b

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.travis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
language: python
22
sudo: false
33

4+
cache:
5+
directories:
6+
- $HOME/.theano
7+
- $HOME/minicoda2
8+
- $HOME/minicoda3
9+
410
before_install:
511
- . ./scripts/install_miniconda.sh
612
- sh -e /etc/init.d/xvfb start

pymc3/gp/cov.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import theano.tensor as tt
22
import numpy as np
33
from functools import reduce
4-
from theano import Variable
54

65
__all__ = ['ExpQuad',
76
'RatQuad',

scripts/install_miniconda.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ else
1616
fi
1717

1818

19-
if [ ! -d $INSTALL_FOLDER ]; then
19+
if [ ! -d $INSTALL_FOLDER ] || [ ! -e $INSTALL_FOLDER/bin/conda ]; then
2020
if [ "$(uname)" == "Darwin" ]; then
2121
URL_OS="MacOSX"
2222
elif [ "$(expr substr "$(uname -s)" 1 5)" == "Linux" ]; then

0 commit comments

Comments
 (0)