branches:
  only:
  - master
language: python
cache:
  directories:
  - "$HOME/.cache/pip"
sudo: false
dist: trusty
matrix:
  include:
  - env: PYTHON_VERSION=pypy-5.7.1
  - env: PYTHON_VERSION=2.7.13
install:
- |
  git clone https://github.com/yyuu/pyenv.git $HOME/fusion-pyenv
  export PYENV_ROOT="$HOME/fusion-pyenv"
  export PATH="$PYENV_ROOT/bin:$PATH"
  eval "$(pyenv init -)"
  pyenv install $PYTHON_VERSION
  pyenv global $PYTHON_VERSION
- pip install -U pip setuptools wheel
- pip install -r requirements.txt .
script:
- "$(type -p trial) documint"
notifications:
  email: false
  slack:
    secure: JmRxn6koP4wuSjWHtxSEKfMfgjVZ1U3X9b5jZpo9j4TpRZl9WWMMfJImZEYnPzxoNp8FuUD73dfQntlqUZYNGaLAE/27pnmDggKdy3Aw6y7nr8wIV4dxzSaHVUiDQAz41PBi7ld3Dl/Garg8rcnqef8Wu1u1G/ZBtGnij1tdLSg=

branches:
  only:
  - master
language: python
cache:
  directories:
  - "$HOME/.cache/pip"
  - "$HOME/fusion-pyenv-cache"
sudo: false
dist: trusty
matrix:
  include:
  - env: PYTHON_VERSION=pypy-5.7.1
  - env: PYTHON_VERSION=2.7.13
install:
- |
  git clone https://github.com/yyuu/pyenv.git $HOME/fusion-pyenv
  export PYENV_ROOT="$HOME/fusion-pyenv"
  export PYENV_BUILD_CACHE_PATH="$HOME/fusion-pyenv-cache"
  export PATH="$PYENV_ROOT/bin:$PATH"
  eval "$(pyenv init -)"
  pyenv install $PYTHON_VERSION
  pyenv global $PYTHON_VERSION
- pip install -U pip setuptools wheel
- pip install -r requirements.txt .
script:
- "$(type -p trial) documint"
notifications:
  email: false
  slack:
    secure: JmRxn6koP4wuSjWHtxSEKfMfgjVZ1U3X9b5jZpo9j4TpRZl9WWMMfJImZEYnPzxoNp8FuUD73dfQntlqUZYNGaLAE/27pnmDggKdy3Aw6y7nr8wIV4dxzSaHVUiDQAz41PBi7ld3Dl/Garg8rcnqef8Wu1u1G/ZBtGnij1tdLSg=

Set up pyenv build cache.
Set up pyenv build cache.
