From 1a59f57e9d8a6a3b62ff82f387e5f9ef5dcff3ea Mon Sep 17 00:00:00 2001 From: Brigitta Sipocz Date: Wed, 5 Jun 2019 19:26:49 -0700 Subject: [PATCH 1/3] Adding build_docs config section --- setup.cfg | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/setup.cfg b/setup.cfg index 56bef215..11492651 100644 --- a/setup.cfg +++ b/setup.cfg @@ -3,6 +3,11 @@ source-dir = docs build-dir = docs/_build all_files = 1 +[build_docs] +source-dir = docs +build-dir = docs/_build +all_files = 1 + [upload_docs] upload-dir = docs/_build/html show-response = 1 From fd0455aa88009cc4364513ab049b384264afe775 Mon Sep 17 00:00:00 2001 From: Brigitta Sipocz Date: Wed, 5 Jun 2019 19:27:25 -0700 Subject: [PATCH 2/3] remove debug leftover --- regions/io/fits/tests/test_fits_region.py | 1 - 1 file changed, 1 deletion(-) diff --git a/regions/io/fits/tests/test_fits_region.py b/regions/io/fits/tests/test_fits_region.py index 08f753ec..95d7dc72 100644 --- a/regions/io/fits/tests/test_fits_region.py +++ b/regions/io/fits/tests/test_fits_region.py @@ -81,7 +81,6 @@ def test_only_pixel_regions(): with pytest.raises(TypeError) as err: fits_region_objects_to_table([reg_sky]) - print(str(err)) assert 'Every region must be a pixel region' in str(err) From b0bf311a523997de55709300ac0244d2deeaa26d Mon Sep 17 00:00:00 2001 From: Brigitta Sipocz Date: Wed, 5 Jun 2019 19:27:34 -0700 Subject: [PATCH 3/3] Minor travis matrix cleanup --- .travis.yml | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/.travis.yml b/.travis.yml index a87dd060..f417a38d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,8 +21,6 @@ addons: apt: packages: - graphviz - - texlive-latex-extra - - dvipng env: global: @@ -40,12 +38,10 @@ env: - SETUP_XVFB=True - ASTROPY_USE_SYSTEM_PYTEST=1 - matrix: - # Make sure that egg_info works without dependencies - - SETUP_CMD='egg_info' - matrix: include: + # Make sure that egg_info works without dependencies + - env: SETUP_CMD='egg_info' # Do a coverage test in Python 3.7 - env: SETUP_CMD='test --coverage' @@ -53,8 +49,6 @@ matrix: # Check for sphinx doc build warnings - we do this first because it # may run for a long time - - env: PYTHON_VERSION=2.7 - SETUP_CMD='build_docs -w' - env: PYTHON_VERSION=3.6 SETUP_CMD='build_docs -w' CONDA_CHANNELS='conda-forge astropy' @@ -63,7 +57,6 @@ matrix: - env: SETUP_CMD='test' CONDA_DEPENDENCIES='Cython pytest-arraydiff' - # Try Astropy development version - env: ASTROPY_VERSION=development CONDA_CHANNELS='conda-forge astropy' @@ -75,9 +68,6 @@ matrix: NUMPY_VERSION=1.10 ASTROPY_VERSION=3.0 - # Try numpy pre-release - - env: NUMPY_VERSION=prerelease - # Do a PEP8 test with pycodestyle - env: MAIN_CMD='pycodestyle regions --count' SETUP_CMD=''