提交 d388108f authored 作者: David Warde-Farley's avatar David Warde-Farley 提交者: Arnaud Bergeron

Remove 2to3, make Travis tests uniform 2.6/3.3.

上级 23665405
......@@ -4,6 +4,7 @@ sudo: false
language: python
python:
- "2.6"
- "3.3"
# command to install dependencies
before_install:
......@@ -15,8 +16,8 @@ before_install:
- conda update --yes conda
install:
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then conda create --yes -q -n pyenv mkl python=2.6 numpy=1.6.2 scipy=0.11 nose=1.1 pyparsing=1.5 pip flake8==2.3 six=1.9.0; fi
- if [[ $TRAVIS_PYTHON_VERSION == '3.3' ]]; then conda create --yes -q -n pyenv mkl python=3.3 numpy=1.9.1 scipy=0.14.0 nose=1.3.4 pip flake8==2.3 six=1.9.0; fi
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then conda create --yes -q -n pyenv mkl python=2.6 numpy=1.6.2 scipy=0.11 nose=1.1 pyparsing=1.5 pip flake8==2.3 six==1.9.0; fi
- if [[ $TRAVIS_PYTHON_VERSION == '3.3' ]]; then conda create --yes -q -n pyenv mkl python=3.3 numpy=1.9.1 scipy=0.14.0 nose=1.3.4 pyparsing=1.5 pip flake8==2.3 six==1.9.0; fi
- source activate pyenv
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install pydot; fi
- pip install . --no-deps
......@@ -29,10 +30,9 @@ env:
- PART="-e test_basic.py tensor/tests"
matrix:
# Explicitly add one part to be run with Python 3, and a complete run in FAST_COMPILE
include:
- python: "3.3"
env: PART="tensor/tests/test_basic.py tensor/signal compile gof misc tests compat"
env: PART="." THEANO_FLAGS="mode=FAST_COMPILE"
- python: "2.6"
env: PART="." THEANO_FLAGS="mode=FAST_COMPILE"
......
......@@ -185,8 +185,6 @@ def do_setup():
'theano', 'math', 'numerical', 'symbolic', 'blas',
'numpy', 'gpu', 'autodiff', 'differentiation'
]),
cmdclass={'build_py': build_py,
'build_scripts': build_scripts}
)
if __name__ == "__main__":
do_setup()
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论