提交 cbdf4fc7 authored 作者: Arnaud Bergeron's avatar Arnaud Bergeron

Merge the faster parts together.

上级 32d27441
...@@ -33,9 +33,8 @@ install: ...@@ -33,9 +33,8 @@ install:
# command to run tests # command to run tests
env: env:
- PART="theano/sandbox theano/sparse theano/scalar theano/tensor/nnet theano/scan_module" - PART="theano/sandbox theano/sparse theano/scalar theano/tensor/nnet theano/scan_module" DOC=1
- PART="theano/tensor/tests/test_basic.py theano/tensor/signal theano/compile theano/gof theano/misc theano/tests theano/compat" - PART="theano/tensor/tests theano/tensor/signal theano/compile theano/gof theano/misc theano/tests theano/compat"
- PART="-e test_basic.py theano/tensor/tests theano/d3viz"
matrix: matrix:
fast_finish: true fast_finish: true
...@@ -44,8 +43,6 @@ matrix: ...@@ -44,8 +43,6 @@ matrix:
env: PART="." THEANO_FLAGS="mode=FAST_COMPILE" env: PART="." THEANO_FLAGS="mode=FAST_COMPILE"
- python: "2.6" - python: "2.6"
env: PART="." THEANO_FLAGS="mode=FAST_COMPILE,floatX=float32" env: PART="." THEANO_FLAGS="mode=FAST_COMPILE,floatX=float32"
- python: 2.6
env: PART="." DOC=1
script: script:
- export THEANO_FLAGS=$THEANO_FLAGS,warn.ignore_bug_before=all,on_opt_error=raise,on_shape_error=raise,gcc.cxxflags=-pipe - export THEANO_FLAGS=$THEANO_FLAGS,warn.ignore_bug_before=all,on_opt_error=raise,on_shape_error=raise,gcc.cxxflags=-pipe
...@@ -60,7 +57,8 @@ script: ...@@ -60,7 +57,8 @@ script:
- cd $(python -c 'import theano; import os; print(os.path.split(theano.__file__)[0])') - cd $(python -c 'import theano; import os; print(os.path.split(theano.__file__)[0])')
- echo "$PART" - echo "$PART"
- cd -; cd Theano - cd -; cd Theano
- if [[ $DOC == "1" ]]; then python doc/scripts/docgen.py --nopdf; else theano-nose -v $PART; fi - theano-nose -v $PART
- if [[ $DOC == "1" ]]; then python doc/scripts/docgen.py --nopdf; fi
- if [[ $DOC == "1" ]]; then python doc/scripts/docgen.py --test; fi - if [[ $DOC == "1" ]]; then python doc/scripts/docgen.py --test; fi
# - theano-cache list # - theano-cache list
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论