提交 e9d7e629 编写于 作者: K Kentaro Wada

Fail to use brew on Travis

上级 f9a39e7f
...@@ -18,20 +18,21 @@ matrix: ...@@ -18,20 +18,21 @@ matrix:
- liblapack-dev - liblapack-dev
- pyqt4-dev-tools - pyqt4-dev-tools
- python-qt4 - python-qt4
- os: osx # FIXME: brew cannot be run on Travis.
osx_image: xcode8 # - os: osx
language: generic # osx_image: xcode8
env: # language: generic
- PYTHON_VERSION=2.7.10 # env:
- PYENV_ROOT=~/.pyenv # - PYTHON_VERSION=2.7.10
- PATH=$PYENV_ROOT/shims:$PATH:$PYENV_ROOT/bin # - PYENV_ROOT=~/.pyenv
- os: osx # - PATH=$PYENV_ROOT/shims:$PATH:$PYENV_ROOT/bin
osx_image: xcode9 # - os: osx
language: generic # osx_image: xcode9
env: # language: generic
- PYTHON_VERSION=2.7.10 # env:
- PYENV_ROOT=~/.pyenv # - PYTHON_VERSION=2.7.10
- PATH=$PYENV_ROOT/shims:$PATH:$PYENV_ROOT/bin # - PYENV_ROOT=~/.pyenv
# - PATH=$PYENV_ROOT/shims:$PATH:$PYENV_ROOT/bin
- os: linux - os: linux
dist: trusty dist: trusty
language: python language: python
...@@ -46,7 +47,7 @@ matrix: ...@@ -46,7 +47,7 @@ matrix:
- USE_CONDA=true - USE_CONDA=true
before_install: before_install:
- if [ "$TRAVIS_OS_NAME" = "linux" -a "$USE_CONDA" = "true" ]; then - if [ "$USE_CONDA" = "true" ]; then
if [ "$TRAVIS_PYTHON_VERSION" = "2.7" ]; then if [ "$TRAVIS_PYTHON_VERSION" = "2.7" ]; then
wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh; wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh;
else else
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册