提交 4c5a04d7 authored 作者: Reyhane Askari's avatar Reyhane Askari

updated cache directory

上级 f98550e6
......@@ -5,11 +5,12 @@ cache:
directories:
- $HOME/download
- $HOME/.cache/pip
- $HOME/.theano
language: python
python:
- "2.7"
# - "3.3"
- "3.3"
# command to install dependencies
before_install:
......@@ -53,24 +54,23 @@ matrix:
env: PART="-e test_flake8.py ." THEANO_FLAGS="mode=FAST_COMPILE,floatX=float32"
script:
- python -c 'import theano; print theano.config.compiledir'
# - export THEANO_FLAGS=$THEANO_FLAGS,warn.ignore_bug_before=all,on_opt_error=raise,on_shape_error=raise,gcc.cxxflags=-pipe
# - python --version
# - uname -a
# - free -m
# - df -h
# - ulimit -a
# # Move out of Theano so the import will use the installed version
# - cd ..
# # Move to the path of the installed version
# - cd $(python -c 'import theano; import os; print(os.path.split(theano.__file__)[0])')
# - echo "$PART"
# - cd -; cd Theano
# - python -c 'import theano; print(theano.config.__str__(print_doc=False))'
# - python -c 'import theano; assert(theano.config.blas.ldflags != "")'
# - theano-nose -v $PART
# - if [[ $DOC == "1" ]]; then python doc/scripts/docgen.py --nopdf --check; fi
# - if [[ $DOC == "1" ]]; then python doc/scripts/docgen.py --test --check; fi
- export THEANO_FLAGS=$THEANO_FLAGS,warn.ignore_bug_before=all,on_opt_error=raise,on_shape_error=raise,gcc.cxxflags=-pipe
- python --version
- uname -a
- free -m
- df -h
- ulimit -a
# Move out of Theano so the import will use the installed version
- cd ..
# Move to the path of the installed version
- cd $(python -c 'import theano; import os; print(os.path.split(theano.__file__)[0])')
- echo "$PART"
- cd -; cd Theano
- python -c 'import theano; print(theano.config.__str__(print_doc=False))'
- python -c 'import theano; assert(theano.config.blas.ldflags != "")'
- theano-nose -v $PART
- if [[ $DOC == "1" ]]; then python doc/scripts/docgen.py --nopdf --check; fi
- if [[ $DOC == "1" ]]; then python doc/scripts/docgen.py --test --check; fi
after_failure:
- cat /home/travis/.pip/pip.log
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论