summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Xu <alex_y_xu@yahoo.ca>2014-02-18 13:44:17 -0500
committerAlex Xu <alex_y_xu@yahoo.ca>2014-02-18 13:44:17 -0500
commit292bd5d62f8a1a83155ead3964fb82a6990f2965 (patch)
treeb379dba53792029e7a924f8650997ffb9e6cb949
parente129412bcfb662aea41d2874f3c0e6176d8c5805 (diff)
downloadhtml5ks-292bd5d62f8a1a83155ead3964fb82a6990f2965.tar.xz
html5ks-292bd5d62f8a1a83155ead3964fb82a6990f2965.zip
travis
-rwxr-xr-x.travis.sh17
-rw-r--r--.travis.yml2
-rw-r--r--unrpyc/Makefile2
3 files changed, 16 insertions, 5 deletions
diff --git a/.travis.sh b/.travis.sh
index 018c791..e09102e 100755
--- a/.travis.sh
+++ b/.travis.sh
@@ -13,12 +13,10 @@ case "$1" in
curl http://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2 | tar -xj
curl http://dl.katawa-shoujo.com/gold_1.1/%5B4ls%5D_katawa_shoujo_1.1-%5Blinux-x86%5D%5BB5C707D5%5D.tar.bz2 | tar -xj --strip-components 2 --wildcards "Katawa Shoujo-linux-x86/game/script-a*" "Katawa Shoujo-linux-x86/game/imachine.rpyc" "Katawa Shoujo-linux-x86/game/ui-strings.rpyc" "Katawa Shoujo-linux-x86/game/ui-strings_FR.rpyc" "Katawa Shoujo-linux-x86/game/data.rpa"
mv *.rpyc unrpyc
+ curl https://webp.googlecode.com/files/libwebp-0.4.0.tar.gz | tar -xz
;;
install)
- curl https://raw.github.com/Lattyware/unrpa/master/unrpa | python2 - -p www/dump -m data.rpa
- rm data.rpa
-
- sudo apt-get install -q autoconf automake build-essential git imagemagick libjpeg-progs libtheora-dev libtool libvpx-dev libx264-dev optipng pkg-config yasm zlib1g-dev
+ sudo apt-get install -q libjpeg-progs libtheora-dev libvpx-dev libx264-dev webp yasm
cd fdk-aac-0.1.3
./configure --disable-shared
@@ -37,6 +35,17 @@ case "$1" in
make $MAKEOPTS
sudo make install
cd ..
+
+ curl https://raw.github.com/Lattyware/unrpa/master/unrpa | python2 - -p www/dump -m data.rpa
+ rm data.rpa
+
+ cd libwebp-0.4.0
+ ./configure
+ make $MAKEOPTS
+ sudo make install
+ cd ..
+
+ sudo npm install -g grunt-cli uglifyjs
;;
script)
exec ./setup.sh "$@"
diff --git a/.travis.yml b/.travis.yml
index 8b3ad0c..e22ed09 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,4 +1,6 @@
language: c
+python:
+ - "3.3"
env: MINIMAL=1 CFLAGS="-O2 -march=native -pipe" CXXFLAGS="-O2 -march=native -pipe"
before_install: ./.travis.sh before_install
install: ./.travis.sh install
diff --git a/unrpyc/Makefile b/unrpyc/Makefile
index ee0ef42..044a2bd 100644
--- a/unrpyc/Makefile
+++ b/unrpyc/Makefile
@@ -1,6 +1,6 @@
GZIP := $(shell ./find-gzip.sh)
-TARGETS := script.json script.json.gz imachine.json imachine.json.gz imachine_replay.json imachine_replay.json.gz ui-strings.json ui-strings.json.gz ui-strings_FR.json ui-strings_FR.json.gz
+TARGETS := script.json script.json.gz imachine.json imachine.json.gz ui-strings.json ui-strings.json.gz ui-strings_FR.json ui-strings_FR.json.gz
all: $(TARGETS)