diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..b60d07b --- /dev/null +++ b/.travis.yml @@ -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