Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
cdcddbef
提交
cdcddbef
authored
10月 15, 2014
作者:
Frédéric Bastien
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #2170 from lamblin/travis-miniconda
Try using miniconda instead of pip for scipy
上级
c7d72dcc
f35658f9
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
19 行增加
和
19 行删除
+19
-19
.travis.yml
.travis.yml
+19
-19
没有找到文件。
.travis.yml
浏览文件 @
cdcddbef
...
@@ -6,44 +6,45 @@ python:
...
@@ -6,44 +6,45 @@ python:
-
"
2.6"
-
"
2.6"
# - "2.7"
# - "2.7"
# - "3.2"
# - "3.2"
# command to install dependencies
# command to install dependencies
before_install
:
before_install
:
-
sudo apt-get install -q libatlas3gf-base libatlas-dev liblapack-dev gfortran
-
sudo apt-get install -q libatlas3gf-base libatlas-dev liblapack-dev gfortran
# - sudo apt-get install -q libopenblas-dev
# Install miniconda to avoid compiling scipy
-
wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
-
chmod +x miniconda.sh
-
./miniconda.sh -b
-
export PATH=/home/travis/miniconda/bin:$PATH
-
conda update --yes conda
install
:
install
:
# If we don't install numpy before SciPy 0.10.1, the SciPy installations fails.
# We support scipy 0.7.2, but it is not available on conda.
-
"
pip
install
-q
numpy==1.5
--use-mirrors"
# So we test with 0.11. Our internal buildbot have 0.7.2.
# We support scipy 0.7.2, but it is not available on pypi anymore.
-
conda create --yes -q -n py26 python=2.6 numpy=1.6 scipy=0.11 nose=1.1 pip
# So we test with 0.8. Our internal buildbot have 0.7.2.
-
source activate py26
# We install it later only for the PART that need it.
-
pip install . --no-deps --use-mirrors
# - "pip install -q scipy==0.8 --use-mirrors"
-
"
pip
install
nose-timelimit
--use-mirrors"
-
"
pip
install
.
--no-deps
--use-mirrors"
# command to run tests
# command to run tests
env
:
env
:
-
PART="theano/scan_module/"
-
PART="theano/scan_module/"
# This part is select such that all scipy code is there.
# We install scipy only for this part to make the test time faster.
-
PART="theano/sandbox theano/sparse theano/scalar/ theano/tensor/nnet/"
-
PART="theano/sandbox theano/sparse theano/scalar/ theano/tensor/nnet/"
-
PART="theano/tensor/tests/test_basic.py theano/tensor/signal/ theano/compile/ theano/gof/ theano/misc/ theano/tests/ theano/compat"
-
PART="theano/tensor/tests/test_basic.py theano/tensor/signal/ theano/compile/ theano/gof/ theano/misc/ theano/tests/ theano/compat"
-
PART="-e test_basic.py theano/tensor/tests"
-
PART="-e test_basic.py theano/tensor/tests"
script
:
script
:
-
"
if
[
`expr
\"
$PART
\"
:
'.*sparse'`
-gt
\"
0
\"
];
then
pip
install
scipy==0.8
--use-mirrors;
fi"
-
export THEANO_FLAGS=blas.ldflags="-lblas -lgfortran",warn.ignore_bug_before=all,on_opt_error=raise,on_shape_error=raise
-
"
if
[
`expr
\"
$PART
\"
:
'.*nnet'`
-gt
\"
0
\"
];
then
pip
install
scipy==0.8
--use-mirrors;
fi"
-
export THEANO_FLAGS=warn.ignore_bug_before=all,on_opt_error=raise,on_shape_error=raise
-
python --version
-
python --version
-
uname -a
-
uname -a
-
free -m
-
free -m
-
df -h
-
df -h
-
ulimit -a
-
ulimit -a
-
echo
$PART
-
echo
"$PART"
-
theano-nose -
-with-timelimit -
v $PART
-
theano-nose -v $PART
-
theano-cache list
-
theano-cache list
#after_script:
#after_script:
after_failure
:
after_failure
:
-
cat /home/travis/.pip/pip.log
-
cat /home/travis/.pip/pip.log
#after_success:
#after_success:
cache
:
apt
cache
:
apt
\ No newline at end of file
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论