提交 74020f10 authored 作者: notoraptor's avatar notoraptor

Add miniconda.sh to TRAVIS cache

Trying to add miniconda.sh to TRAVIS cache then avoir redownloading of this resource for every build. Need to be tested.
上级 2e699b53
......@@ -4,6 +4,7 @@ sudo: false
cache:
directories:
- $HOME/download
- $HOME/download/miniconda.sh
- $HOME/.cache/pip
- $HOME/.theano
......@@ -17,7 +18,7 @@ before_install:
# Install miniconda to avoid compiling scipy
- mkdir -p download
- cd download
- wget -c https://repo.continuum.io/miniconda/Miniconda2-4.1.11-Linux-x86_64.sh -O miniconda.sh
- "[ -f $HOME/download/miniconda.sh ] || wget -c https://repo.continuum.io/miniconda/Miniconda2-4.1.11-Linux-x86_64.sh -O miniconda.sh"
- chmod +x miniconda.sh
- ./miniconda.sh -b
- cd ..
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论