提交 b4f39855 authored 作者: Frederic Bastien's avatar Frederic Bastien

Clean up the .travis.yml file. All the cd bring us back to the original directory.

上级 86540756
...@@ -111,19 +111,11 @@ script: ...@@ -111,19 +111,11 @@ script:
- df -h - df -h
- ulimit -a - ulimit -a
- echo "$PART" - echo "$PART"
- pwd # Print information to help debug problems
- cd ..
- pwd
# Move to the path of the installed version
- cd $(python -c 'import theano; import os; print(os.path.split(theano.__file__)[0])')
- pwd
- cd -
- pwd
- cd Theano
- pwd
- 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 != "")'
# Run tests for the given part
- theano-nose -v --with-timer --timer-top-n 10 $PART - theano-nose -v --with-timer --timer-top-n 10 $PART
- if [[ $DOC == "1" ]]; then python doc/scripts/docgen.py --nopdf --check; fi - if [[ $DOC == "1" ]]; then python doc/scripts/docgen.py --nopdf --check; fi
- if [[ $DOC == "1" ]]; then python doc/scripts/docgen.py --test --check; fi - if [[ $DOC == "1" ]]; then python doc/scripts/docgen.py --test --check; fi
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论