Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
P
pytensor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
testgroup
pytensor
Commits
11c78375
提交
11c78375
authored
7月 31, 2020
作者:
Brandon T. Willard
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Refactor travis config and add Coveralls
上级
68d6cef6
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
28 行增加
和
40 行删除
+28
-40
.travis.yml
.travis.yml
+28
-5
travis_before_install.sh
.travis/travis_before_install.sh
+0
-26
travis_install.sh
.travis/travis_install.sh
+0
-9
没有找到文件。
.travis.yml
浏览文件 @
11c78375
# After changing this file, check it on:
# http://lint.travis-ci.org/
os
:
linux
os
:
linux
dist
:
xenial
dist
:
xenial
cache
:
cache
:
...
@@ -38,10 +36,32 @@ addons:
...
@@ -38,10 +36,32 @@ addons:
-
dvipng
-
dvipng
before_install
:
before_install
:
-
source .travis/travis_before_install.sh
-
|
if test -e $HOME/miniconda/bin ; then
echo "miniconda already installed."
else
echo "Installing miniconda."
rm -rf $HOME/miniconda
mkdir -p $HOME/download
if [[ -d $HOME/download/miniconda.sh ]] ; then rm -rf $HOME/download/miniconda.sh ; fi
wget -c https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O $HOME/download/miniconda.sh
mkdir $HOME/.conda
bash $HOME/download/miniconda.sh -b -p $HOME/miniconda
fi
$HOME/miniconda/bin/conda init bash
source ~/.bash_profile
conda activate base
hash -r
conda config --set always_yes yes --set changeps1 no
conda update -q conda
conda info -a
install
:
install
:
-
source .travis/travis_install.sh
-
conda create --yes -q -n pyenv python=$TRAVIS_PYTHON_VERSION
-
conda activate pyenv
-
conda install --yes -q mkl numpy scipy pip flake8 six pep8 pyflakes sphinx mkl-service graphviz cython
-
python -m pip install -q pydot-ng sphinx_rtd_theme pytest pytest-cov>=2.6.1 coveralls sympy
-
python -m pip install --no-deps --upgrade -e .
jobs
:
jobs
:
include
:
include
:
...
@@ -84,7 +104,10 @@ script:
...
@@ -84,7 +104,10 @@ script:
-
python -c 'import theano; print(theano.__version__)'
-
python -c 'import theano; print(theano.__version__)'
-
python -c 'import theano; print(theano.config.__str__(print_doc=False))'
-
python -c 'import theano; print(theano.config.__str__(print_doc=False))'
-
python -c 'import theano; assert(theano.config.blas.ldflags != "")'
-
python -c 'import theano; assert(theano.config.blas.ldflags != "")'
-
pytest -r A --verbose --runslow $PART
-
pytest -r A --verbose --runslow --cov=theano/ --cov-append --no-cov-on-fail $PART
after_success
:
-
coveralls
after_failure
:
after_failure
:
-
cat $HOME/.pip/pip.log
-
cat $HOME/.pip/pip.log
.travis/travis_before_install.sh
deleted
100755 → 0
浏览文件 @
68d6cef6
#!/usr/bin/env bash
set
-e
# Install miniconda to avoid compiling scipy
if
test
-e
$HOME
/miniconda/bin
;
then
echo
"miniconda already installed."
else
echo
"Installing miniconda."
rm
-rf
$HOME
/miniconda
mkdir
-p
$HOME
/download
if
[[
-d
$HOME
/download/miniconda.sh
]]
;
then
rm
-rf
$HOME
/download/miniconda.sh
;
fi
wget
-c
https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
-O
$HOME
/download/miniconda.sh
mkdir
$HOME
/.conda
bash
$HOME
/download/miniconda.sh
-b
-p
$HOME
/miniconda
fi
$HOME
/miniconda/bin/conda init bash
source
~/.bash_profile
conda activate base
hash
-r
conda config
--set
always_yes
yes
--set
changeps1 no
conda update
-q
conda
conda info
-a
.travis/travis_install.sh
deleted
100755 → 0
浏览文件 @
68d6cef6
#!/usr/bin/env bash
set
-e
conda create
--yes
-q
-n
pyenv
python
=
$TRAVIS_PYTHON_VERSION
conda activate pyenv
conda
install
--yes
-q
mkl numpy scipy pip flake8 six pep8 pyflakes sphinx mkl-service graphviz pytest
# libgfortran
python
-m
pip
install
-q
pydot-ng sphinx_rtd_theme
python
-m
pip
install
--no-deps
--upgrade
-e
.
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论