language: python

cache:
  - pip
  - ccache

python:
  - "2.7"
  - "3.4"
  - "3.5"

install:
  - pip install -U pip wheel
  - pip install cython
  - READTHEDOCS=True travis_wait pip install -U -e .[travis]

script:
  - flake8
  - flake8 --config=.flake8.cython
  - autopep8 -r . --diff | tee check_autopep8
  - test ! -s check_autopep8
  # To workaround Travis issue (https://github.com/travis-ci/travis-ci/issues/7261),
  # ignore DeprecationWarning raised in `site.py`.
  - python -Werror::DeprecationWarning -Wignore::DeprecationWarning:site -m compileall -f -q cupy cupyx examples tests docs
  - pip install scipy
  - pushd docs
  - SPHINXOPTS=-W make html
  - popd

sudo: false

language: python

cache:
  - pip
  - ccache

python:
  - "3.4"
  - "3.5"

install:
  - pip install -U pip wheel
  - pip install cython
  - READTHEDOCS=True travis_wait pip install -U -e .[travis]

script:
  - flake8
  - flake8 --config=.flake8.cython
  - autopep8 -r . --diff | tee check_autopep8
  - test ! -s check_autopep8
  # To workaround Travis issue (https://github.com/travis-ci/travis-ci/issues/7261),
  # ignore DeprecationWarning raised in `site.py`.
  - python -Werror::DeprecationWarning -Wignore::DeprecationWarning:site -m compileall -f -q cupy cupyx examples tests docs
  - pip install scipy
  - pushd docs
  - SPHINXOPTS=-W make html
  - popd

sudo: false

Drop Python 2 Travis CI configuration
Drop Python 2 Travis CI configuration
