提交 0838251c authored 作者: Frédéric Bastien's avatar Frédéric Bastien

Merge pull request #1674 from nouiz/travis

rebalence travis-ci tests.
...@@ -20,11 +20,11 @@ install: ...@@ -20,11 +20,11 @@ install:
- "pip install . --no-deps --use-mirrors" - "pip install . --no-deps --use-mirrors"
# command to run tests # command to run tests
env: env:
- PART="theano/tensor/nnet/ theano/tensor/signal/ theano/compile/ theano/gof/ theano/misc/ theano/tests/ theano/compat theano/scan_module/" - PART="theano/scan_module/"
# This part is select such that all scipy code is there. # This part is select such that all scipy code is there.
# We install scipy only for this part to make the test time faster. # We install scipy only for this part to make the test time faster.
- PART="theano/sandbox theano/sparse theano/scalar/" - PART="theano/sandbox theano/sparse theano/scalar/ theano/tensor/nnet/"
- PART="theano/tensor/tests/test_basic.py" - PART="theano/tensor/tests/test_basic.py theano/tensor/signal/ theano/compile/ theano/gof/ theano/misc/ theano/tests/ theano/compat"
- PART="-e test_basic.py theano/tensor/tests" - PART="-e test_basic.py theano/tensor/tests"
script: script:
- "if [ `expr \"$PART\" : '.*sparse'` -gt \"0\" ]; then pip install scipy==0.8 --use-mirrors; fi" - "if [ `expr \"$PART\" : '.*sparse'` -gt \"0\" ]; then pip install scipy==0.8 --use-mirrors; fi"
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论