dist: xenial
install:
 - PYTHON_MAJOR=$( python -c 'import sys; print(sys.version_info.major)' )
 - PYTHON_MINOR=$( python -c 'import sys; print(sys.version_info.minor)' )
 - pip install -U pip setuptools
 - pip install -U --force-reinstall -r requirements-travis.txt
 - if (( ( $PYTHON_MAJOR > 3 ) || ( $PYTHON_MAJOR == 3 && $PYTHON_MINOR >= 6 ) )); then pip install -r requirements-flake8.txt; fi
 - sh -c 'cd doc; env SPHINXOPTS=-Ean make html; mkdir scratch'
language: python
python:
 - 3.5
 - 3.6
 - 3.7
 - 3.8-dev
script:
 - python --version
 - pip list
 - pytest --cov=src --testall --nonloc
 - if (( $PYTHON_MAJOR == 3 && $PYTHON_MINOR == 7 )); then tox -e flake8; else echo "No flake8."; fi
 - if (( $PYTHON_MAJOR == 3 && $PYTHON_MINOR == 6 )); then sh -c 'cd doc; make doctest'; else echo "No doctest."; fi
 - if (( $PYTHON_MAJOR == 3 && $PYTHON_MINOR == 7 )); then codecov; else echo "No codecov."; fi


dist: xenial
install:
 - PYTHON_MAJOR=$( python -c 'import sys; print(sys.version_info.major)' )
 - PYTHON_MINOR=$( python -c 'import sys; print(sys.version_info.minor)' )
 - pip install -U pip setuptools
 - pip install -U --force-reinstall -r requirements-travis.txt
 - if (( ( $PYTHON_MAJOR > 3 ) || ( $PYTHON_MAJOR == 3 && $PYTHON_MINOR >= 6 ) )); then pip install -r requirements-flake8.txt; fi
 - sh -c 'cd doc; make html; mkdir scratch'
language: python
python:
 - 3.5
 - 3.6
 - 3.7
 - 3.8-dev
script:
 - python --version
 - pip list
 - pytest --cov=src --testall --nonloc
 - if (( $PYTHON_MAJOR == 3 && $PYTHON_MINOR == 7 )); then tox -e flake8; else echo "No flake8."; fi
 - if (( $PYTHON_MAJOR == 3 && $PYTHON_MINOR == 6 )); then sh -c 'cd doc; make doctest'; else echo "No doctest."; fi
 - if (( $PYTHON_MAJOR == 3 && $PYTHON_MINOR == 7 )); then codecov; else echo "No codecov."; fi


Revert extra args to CI docs build
ADMIN: Revert extra args to CI docs build

Looks like it was out-of-date local docs, somehow.
