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.
 
 
 

26 lines
914 B

  1. language: python
  2. python:
  3. - "2.7"
  4. install:
  5. # requirements
  6. #
  7. # todo add -qq to quietly install dependencies
  8. - sudo apt-get install -qqy nodejs npm optipng jpegoptim libjpeg-progs asciidoc libxml2-dev libxslt1-dev libpcre3-dev
  9. - sudo apt-get install libtiff4-dev libjpeg8-dev zlib1g-dev libfreetype6-dev liblcms2-dev libwebp-dev tcl8.5-dev tk8.5-dev python-tk
  10. # Ubuntu 14
  11. # - sudo apt-get install -y libtiff5-dev libjpeg8-dev zlib1g-dev libfreetype6-dev liblcms2-dev libwebp-dev tcl8.6-dev tk8.6-dev python-tk
  12. - sudo npm install -g sass@0.5.0 requirejs@2.1 stylus@0.51 uglify-js@2.4 less@2.5.1
  13. # uglify requires node instead of nodejs binary
  14. - sudo ln -s /usr/bin/nodejs /usr/bin/node
  15. # Python test requirements
  16. - pip install -r dev-req.txt
  17. before_script:
  18. - export PYTHONPATH=$PYTHONPATH:/usr/share/asciidoc/
  19. script:
  20. # Run Python tests and generate coverage statistics
  21. - nosetests