From f4baf7b1a9ffc4a3d9f3246f513ae836f26cfeee Mon Sep 17 00:00:00 2001 From: Jordi Llonch Date: Sun, 24 May 2015 08:37:26 +1000 Subject: [PATCH] Initial support for Travis-CI --- .travis.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .travis.yml 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