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.
|
- language: python
- python:
- - "2.7"
-
- install:
- - sudo apt-get purge -y nodejs
- - sudo apt-get install -qqy python-software-properties
- - sudo add-apt-repository -y ppa:chris-lea/node.js
- - sudo apt-get -qq update
- - sudo apt-get install -qqy nodejs optipng jpegoptim libjpeg-progs asciidoc libxml2-dev libxslt1-dev libpcre3-dev
- - 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
- # Ubuntu 14
- # - 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
-
- # JS dependencies
- - sudo npm install -g sass@0.5.0 requirejs@2.1 stylus@0.51 uglify-js@2.4.23 less@2.5.1
-
- # Python test requirements
- - pip install -r dev-req.txt
-
- before_script:
- - export PYTHONPATH=$PYTHONPATH:/usr/share/asciidoc/
-
- script:
- # Source code sanity check
- - flake8 hyde
- # Run Python tests and generate coverage statistics
- - nosetests
|