Browse Source

Initial support for Travis-CI

main
Jordi Llonch 9 years ago
parent
commit
f4baf7b1a9
1 changed files with 24 additions and 0 deletions
  1. +24
    -0
      .travis.yml

+ 24
- 0
.travis.yml View File

@@ -0,0 +1,24 @@
language: python
python:
- "2.7"

install:
# requirements
#
# todo add -qq to quietly install
- sudo apt-get install -y nodejs nodejs-legacy npm optipng jpegoptim libjpeg-progs asciidoc libxml2-dev libxslt1-dev ruby-dev
- 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
# Ubuntu 12: sudo apt-get install libtiff4-dev libjpeg8-dev zlib1g-dev libfreetype6-dev liblcms2-dev libwebp-dev tcl8.5-dev tk8.5-dev python-tk
- sudo npm install -g sass requirejs@2.1 stylus@0.51 uglify@0.1
- sudo gem install therubyracer
- sudo gem install less -v 1.7.0
# Python test requirements
- pip install PyScss
- pip install -r dev-req.txt

before_script:
- export PYTHONPATH=$PYTHONPATH:/usr/share/asciidoc/

script:
# Run Python tests and generate coverage statistics
- nosetests

Loading…
Cancel
Save