Unverified 提交 bb629b6a authored 作者: Frédéric Bastien's avatar Frédéric Bastien 提交者: GitHub

Merge pull request #6750 from nouiz/fix_travis

Use conda-forge for Python 3.4 to fix travis
...@@ -36,7 +36,8 @@ install: ...@@ -36,7 +36,8 @@ install:
- source activate pyenv - source activate pyenv
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pip install pydot; else pip install pydot-ng; fi - if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pip install pydot; else pip install pydot-ng; fi
- pip install . --no-deps --upgrade - pip install . --no-deps --upgrade
- pip install flake8-future-import parameterized sphinx_rtd_theme - pip install flake8-future-import parameterized
- if [[ $TRAVIS_PYTHON_VERSION != '3.4' ]]; then pip install sphinx_rtd_theme; fi
# 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 nose-timer - pip install nose-exclude nose-timer
- if [[ $NUMPY_VERSION == '1.13.1' ]]; then conda install --yes -q scipy=0.19.1; else conda install --yes -q scipy=0.14; fi # Try to reinstall it to fix the problem - if [[ $NUMPY_VERSION == '1.13.1' ]]; then conda install --yes -q scipy=0.19.1; else conda install --yes -q scipy=0.14; fi # Try to reinstall it to fix the problem
...@@ -52,9 +53,9 @@ jobs: ...@@ -52,9 +53,9 @@ jobs:
- <<: *doctest - <<: *doctest
python: "2.7" python: "2.7"
env: NUMPY_VERSION=1.13.1 DOC=1 PART="theano/tests/test_flake8.py" env: NUMPY_VERSION=1.13.1 DOC=1 PART="theano/tests/test_flake8.py"
- <<: *doctest # - <<: *doctest
python: "3.4" # python: "3.4"
env: NUMPY_VERSION=1.9.1 DOC=1 PART="theano/tests/test_flake8.py" # env: NUMPY_VERSION=1.9.1 DOC=1 PART="theano/tests/test_flake8.py"
- <<: *doctest - <<: *doctest
python: "3.6" python: "3.6"
env: NUMPY_VERSION=1.13.1 DOC=1 PART="theano/tests/test_flake8.py" env: NUMPY_VERSION=1.13.1 DOC=1 PART="theano/tests/test_flake8.py"
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论