A fork of hyde, the static site generation. Some patches will be pushed upstream.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

60 lines
1021 B

  1. sudo: false
  2. language: python
  3. python:
  4. - "3.5"
  5. addons:
  6. apt:
  7. packages:
  8. - asciidoc
  9. - jpegoptim
  10. - libfreetype6-dev
  11. - libjpeg-progs
  12. - libjpeg8-dev
  13. - liblcms2-dev
  14. - libpcre3-dev
  15. - libtiff4-dev
  16. - libwebp-dev
  17. - libxml2-dev
  18. - libxslt1-dev
  19. - nodejs
  20. - optipng
  21. - python-tk
  22. - tcl8.5-dev
  23. - tk8.5-dev
  24. - zlib1g-dev
  25. # Cache pip requirements for faster builds
  26. cache:
  27. directories:
  28. - $HOME/.cache/pip
  29. install:
  30. # JS dependencies
  31. - npm install sass@0.5.0 requirejs@2.1 stylus@0.51 uglify-js@2.4.23 less@2.5.1
  32. # Python test requirements
  33. - pip install tox
  34. # Run each tox environment separately
  35. env:
  36. - TOX_ENV=py27
  37. - TOX_ENV=py33
  38. - TOX_ENV=py34
  39. - TOX_ENV=py35
  40. - TOX_ENV=pep8
  41. before_script:
  42. - export PATH=$(pwd)/node_modules/.bin:$PATH
  43. - export PYTHONPATH=$PYTHONPATH:/usr/share/asciidoc/
  44. script:
  45. - tox -e $TOX_ENV
  46. # Only build for the master branch
  47. # Note that this does not prevent pull request builds
  48. branches:
  49. only:
  50. master