language: php

php:
    - 5.3
    - 5.4

before_script:
    - wget http://getcomposer.org/composer.phar
    - php composer.phar install --dev
    - git clone https://github.com/kamicane/packager.git vendor/packager --quiet --depth 1
    - git clone https://github.com/leafo/lessphp.git vendor/lessphp --quiet --depth 1
    - git clone https://github.com/mrclay/minify.git vendor/minify --quiet --depth 1
    - svn checkout http://cssmin.googlecode.com/svn/trunk/ vendor/cssmin --quiet
    - wget --quiet -O javascript-packer.zip "http://joliclic.free.fr/php/javascript-packer/telechargement.php?id=2&action=telecharger" && mkdir -p vendor/packer && unzip -qq javascript-packer.zip -d vendor/packer; rm javascript-packer.zip

script: phpunit --configuration phpunit.travis.xml
