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.
 
 
 

27 lines
945 B

  1. language: python
  2. python:
  3. - "2.7"
  4. install:
  5. - sudo apt-get purge -y nodejs
  6. - sudo apt-get install -qqy python-software-properties
  7. - sudo add-apt-repository -y ppa:chris-lea/node.js
  8. - sudo apt-get -qq update
  9. - sudo apt-get install -qqy nodejs optipng jpegoptim libjpeg-progs asciidoc libxml2-dev libxslt1-dev libpcre3-dev
  10. - sudo apt-get install -qqy libtiff4-dev libjpeg8-dev zlib1g-dev libfreetype6-dev liblcms2-dev libwebp-dev tcl8.5-dev tk8.5-dev python-tk
  11. # Ubuntu 14
  12. # - 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
  13. # JS dependencies
  14. - sudo npm install -g sass@0.5.0 requirejs@2.1 stylus@0.51 uglify-js@2.4.23 less@2.5.1
  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