提交 81d13b9f authored 作者: Frederic Bastien's avatar Frederic Bastien

Time all test in travis.

上级 8bd6e9a3
...@@ -40,7 +40,7 @@ install: ...@@ -40,7 +40,7 @@ install:
- pip install . --no-deps --upgrade - pip install . --no-deps --upgrade
- pip install flake8-future-import nose-parameterized==0.5.0 sphinx_rtd_theme - pip install flake8-future-import nose-parameterized==0.5.0 sphinx_rtd_theme
# nose-exclude plugin allow us to tell nosetests to exclude folder with --exclude-dir=path/to/directory. # nose-exclude plugin allow us to tell nosetests to exclude folder with --exclude-dir=path/to/directory.
- pip install nose-exclude - pip install nose-exclude nose-timer
# command to run tests # command to run tests
env: env:
...@@ -82,7 +82,7 @@ script: ...@@ -82,7 +82,7 @@ script:
- cd -; cd Theano - cd -; cd Theano
- 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 != "")'
- theano-nose -v $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 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论