forked from kriswallsmith/assetic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (32 loc) · 1.77 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
language: php
php:
- 5.3
- 5.4
before_script:
# php deps
- composer self-update
- composer install --dev
# node deps
- npm install uglify-js@1 && mkdir -p vendor/uglifyjs && mv node_modules vendor/uglifyjs
- npm install
- export UGLIFYJS_BIN=vendor/uglifyjs/node_modules/uglify-js/bin/uglifyjs
# java deps
- mkdir -p vendor/java
- wget http://closure-compiler.googlecode.com/files/compiler-latest.zip && unzip compiler-latest.zip -d vendor/java/compiler
- export CLOSURE_JAR=vendor/java/compiler/compiler.jar
- wget http://closure-stylesheets.googlecode.com/files/closure-stylesheets-20111230.jar && mv closure-stylesheets-20111230.jar vendor/java
- export GSS_JAR=vendor/java/closure-stylesheets-20111230.jar
- wget https://github.com/downloads/nzakas/cssembed/cssembed-0.4.5.jar && mv cssembed-0.4.5.jar vendor/java
- export CSSEMBED_JAR=vendor/java/cssembed-0.4.5.jar
- wget http://yui.zenfs.com/releases/yuicompressor/yuicompressor-2.4.7.zip && unzip yuicompressor-2.4.7.zip -d vendor/java
- export YUI_COMPRESSOR_JAR=vendor/java/yuicompressor-2.4.7/build/yuicompressor-2.4.7.jar
# # ruby deps (why doesn't this work?)
# - bundle install
# other deps
- sudo apt-get install jpegoptim libjpeg-progs optipng
# (why don't these work?)
# - wget -q https://storage.googleapis.com/dart-editor-archive-integration/latest/dartsdk-linux-32.tar.gz && tar -xzf dartsdk-linux-32.tar.gz && mv dart-sdk vendor
# - export DART_BIN=vendor/dart-sdk/bin/dart2js
# - wget -q http://static.jonof.id.au/dl/kenutils/pngout-20120530-linux.tar.gz && tar -xzf pngout-20120530-linux.tar.gz && mv pngout-20120530-linux vendor
# - export PNGOUT_BIN=vendor/pngout-20120530-linux/i386/pngout
script: ./bin/phpunit -v