Revision 7b548c682771d62a0b2b7f283151fc55bf74d38e authored by Kenta Oono on 12 July 2016, 05:22:34 UTC, committed by GitHub on 12 July 2016, 05:22:34 UTC
Update version
.travis.yml
language: python
cache:
- pip
- ccache
matrix:
include:
- os: linux
python: "2.7"
- os: linux
python: "3.4"
- os: linux
python: "3.5.1"
- os: osx
language: generic
env:
- PYTHON_VERSION=2.7.10
- PYENV_ROOT=~/.pyenv
- PATH=$PYENV_ROOT/shims:$PATH:$PYENV_ROOT/bin
- os: osx
language: generic
env:
- PYTHON_VERSION=3.4.3
- PYENV_ROOT=~/.pyenv
- PATH=$PYENV_ROOT/shims:$PATH:$PYENV_ROOT/bin
- os: osx
language: generic
env:
- PYTHON_VERSION=3.5.1
- PYENV_ROOT=~/.pyenv
- PATH=$PYENV_ROOT/shims:$PATH:$PYENV_ROOT/bin
before_install:
- if [[ $TRAVIS_OS_NAME = "osx" ]]; then
brew update >/dev/null;
brew outdated pyenv || brew upgrade --quiet pyenv;
brew install homebrew/boneyard/pyenv-pip-rehash;
PYTHON_CONFIGURE_OPTS="--enable-unicode=ucs2" pyenv install -ks $PYTHON_VERSION;
pyenv global $PYTHON_VERSION;
python --version;
brew install homebrew/science/hdf5;
fi
install:
- pip install -U pip wheel
- pip install cython
- python setup.py sdist
- pip install dist/*.tar.gz
- pip install h5py
- pip install nose hacking mock
script:
- flake8
- PYTHONWARNINGS='module::DeprecationWarning' nosetests -a '!gpu' --with-doctest tests/install_tests
- cd tests
- PYTHONWARNINGS='module::DeprecationWarning' nosetests -a '!gpu' --with-doctest chainer_tests
sudo: false
addons:
apt:
packages:
- libhdf5-serial-dev
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...