.travis.yml 708 B

12345678910111213141516171819
  1. dist: xenial
  2. language: python
  3. python:
  4. - "3.6"
  5. cache:
  6. - apt
  7. install:
  8. - sudo apt-get install texlive-latex-recommended texlive-fonts-recommended texlive-latex-extra latexmk librsvg2-bin plantuml
  9. # plantuml is really outdated, smuggle in the latest upstream
  10. - sudo wget -O /usr/share/plantuml/plantuml.jar http://sourceforge.net/projects/plantuml/files/plantuml.jar/download
  11. - pip install -r requirements.txt
  12. - pip install -e .
  13. script:
  14. # patch the planuml config, to prevent PDF conversion (works around a bug in the
  15. # sphinx extension)
  16. - sed -i -e "s/plantuml_latex_output_format = 'pdf'/plantuml_latex_output_format = 'png'/g" docs/conf.py
  17. - make doctest
  18. - make html
  19. - make latexpdf