提交 e51c5004 authored 作者: Colin Carroll's avatar Colin Carroll

Fix travis, maybe

上级 d869832e
...@@ -84,7 +84,7 @@ script: ...@@ -84,7 +84,7 @@ script:
- 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 != "")'
# Run tests for the given part # Run tests for the given part
- theano-nose -v --with-timer --timer-top-n 10 $PART - pytest -v $PART
after_failure: after_failure:
- cat $HOME/.pip/pip.log - cat $HOME/.pip/pip.log
...@@ -7,13 +7,13 @@ if [[ $DOC == "1" ]]; then ...@@ -7,13 +7,13 @@ if [[ $DOC == "1" ]]; then
# for old versions # for old versions
conda create --yes -q -n pyenv python=3.6 numpy=1.13.1 conda create --yes -q -n pyenv python=3.6 numpy=1.13.1
conda activate pyenv conda activate pyenv
conda install --yes -q mkl numpy=1.13.1 scipy=0.19.1 nose=1.3.7 pip flake8=3.5 six=1.11.0 pep8=1.7.1 pyflakes=1.6.0 mkl-service graphviz conda install --yes -q mkl numpy=1.13.1 scipy=0.19.1 pip flake8=3.5 six=1.11.0 pep8=1.7.1 pyflakes=1.6.0 mkl-service graphviz pytest
python -m pip install pydot-ng flake8-future-import nose-exclude nose-timer python -m pip install pydot-ng flake8-future-import
else else
conda create --yes -q -n pyenv python=$TRAVIS_PYTHON_VERSION conda create --yes -q -n pyenv python=$TRAVIS_PYTHON_VERSION
conda activate pyenv conda activate pyenv
conda install --yes -q mkl numpy scipy nose pip flake8 six pep8 pyflakes sphinx mkl-service graphviz # libgfortran 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 flake8-future-import sphinx_rtd_theme nose-exclude nose-timer python -m pip install -q pydot-ng flake8-future-import sphinx_rtd_theme
fi fi
python -m pip install --no-deps --upgrade -e . python -m pip install --no-deps --upgrade -e .
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论