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

Fail to use brew on Travis

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