diff --git a/appveyor.yml b/appveyor.yml index 439930fe..b0bfc513 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -46,11 +46,14 @@ install: - "pip install --pre --no-index --find-links dist/ scikit-image" - # Not a .NET project, we build scikit-image in the install step instead build: false test_script: + # Build the docs + - pip install sphinx + - cd doc && make + # Change to a non-source folder to make sure we run the tests on the # installed library. - "cd C:\\" @@ -61,10 +64,6 @@ test_script: # Run unit tests with nose - "python -c \"import nose; nose.main()\" -v -s skimage" - # Build the docs - - pip install sphinx - - cd doc && make - artifacts: # Archive the generated wheel package in the ci.appveyor.com build report. - path: dist\* diff --git a/doc/make.bat b/doc/make.bat index 68cf7efc..e7c61181 100644 --- a/doc/make.bat +++ b/doc/make.bat @@ -115,6 +115,8 @@ if "%1" == "epub" ( ) if "%1" == "latex" ( + mkdir source/api + %PYTHON% tools/build_modref_templates.py %SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex echo. echo.Build finished; the LaTeX files are in %BUILDDIR%/latex.