提交 31c951ee authored 作者: Pascal Lamblin's avatar Pascal Lamblin

Revert the version changes in travis

上级 4631b6ef
......@@ -12,7 +12,7 @@ cache:
language: python
python:
- "2.7"
- "3.4"
- "3.3"
# NB:
# In before_install and install sections below,
......@@ -41,8 +41,6 @@ install:
- 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.
- pip install nose-exclude
- pip install --upgrade numpy==1.12.0
- pip install --upgrade scipy==0.18.1
# command to run tests
env:
......@@ -56,11 +54,11 @@ env:
matrix:
fast_finish: true
include:
- python: "3.4"
- python: "3.3"
env: PART="--exclude-dir=theano/tensor -e test_flake8.py ." THEANO_FLAGS="mode=FAST_COMPILE"
- python: "3.4"
- python: "3.3"
env: PART="theano/tensor --exclude-dir=theano/tensor/nnet" THEANO_FLAGS="mode=FAST_COMPILE"
- python: "3.4"
- python: "3.3"
env: PART="theano/tensor/nnet" THEANO_FLAGS="mode=FAST_COMPILE"
- python: "2.7"
env: PART="--exclude-dir=theano/tensor -e test_flake8.py ." THEANO_FLAGS="mode=FAST_COMPILE,floatX=float32"
......@@ -83,7 +81,7 @@ script:
- 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 != "")'
- 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
......
......@@ -5,10 +5,10 @@ if test -e $HOME/miniconda2/envs/pyenv; then
else
echo "Creating pyenv."
if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then conda create --yes -q -n pyenv python=2.7 ; fi
if [[ $TRAVIS_PYTHON_VERSION == '3.4' ]]; then conda create --yes -q -n pyenv python=3.4 ; fi
if [[ $TRAVIS_PYTHON_VERSION == '3.3' ]]; then conda create --yes -q -n pyenv python=3.3 ; fi
fi
source activate pyenv
if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then conda install --yes -q mkl numpy=1.9.1 scipy=0.14.0 nose=1.3.0 pip flake8=2.3 six=1.9.0 pep8=1.6.2 pyflakes=0.8.1 sphinx mkl-service libgfortran=1; fi
if [[ $TRAVIS_PYTHON_VERSION == '3.4' ]]; then conda install --yes -q mkl numpy=1.9.1 scipy=0.14.0 nose=1.3.4 pip flake8=2.3 six=1.9.0 pep8=1.6.2 pyflakes=0.8.1 sphinx mkl-service; fi
if [[ $TRAVIS_PYTHON_VERSION == '3.3' ]]; then conda install --yes -q mkl numpy=1.9.1 scipy=0.14.0 nose=1.3.4 pip flake8=2.3 six=1.9.0 pep8=1.6.2 pyflakes=0.8.1 sphinx mkl-service; fi
source deactivate
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论