diff --git a/.travis.yml b/.travis.yml index 091b31a34..f7f786e75 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,17 +10,17 @@ before_install: - sudo apt-get install unzip - wget -q https://www.free-decompiler.com/flash/nsis-3.0-src.tar.bz2 - bzip2 -d nsis-3.0-src.tar.bz2 - - tar xvf nsis-3.0-src.tar -C ~ >/dev/null - - cd ~/nsis-3.0-src/ - - scons UNICODE=yes SKIPSTUBS=all SKIPPLUGINS=all SKIPUTILS=all SKIPMISC=all NSIS_CONFIG_CONST_DATA=no PREFIX=~/nsis-3.0-src/ install-compiler >/dev/null + - tar xvf nsis-3.0-src.tar -C $tools_dir >/dev/null + - cd $tools_dir/nsis-3.0-src/ + - scons UNICODE=yes SKIPSTUBS=all SKIPPLUGINS=all SKIPUTILS=all SKIPMISC=all NSIS_CONFIG_CONST_DATA=no PREFIX=$tools_dir/nsis-3.0-src/ install-compiler >/dev/null - mkdir share - - ln -s ~/nsis-3.0-src share/nsis + - ln -s $tools_dir/nsis-3.0-src share/nsis - cd - - wget -q https://www.free-decompiler.com/flash/nsis-3.0-stubs.zip - - unzip nsis-3.0-stubs.zip -d ~/nsis-3.0-src/Stubs + - unzip nsis-3.0-stubs.zip -d $tools_dir/nsis-3.0-src/Stubs - wget -q https://www.free-decompiler.com/flash/launch4j-3.9-linux.tgz - - tar zxvf launch4j-3.9-linux.tgz -C ~ >/dev/null - - echo "nsis.path = ~/nsis-3.0-src/bin/makensis" > tools.properties - - echo "launch4j.path = ~/launch4j" >> tools.properties + - tar zxvf launch4j-3.9-linux.tgz -C $tools_dir >/dev/null + - echo "nsis.path = $tools_dir/nsis-3.0-src/bin/makensis" > tools.properties + - echo "launch4j.path = $tools_dir/launch4j" >> tools.properties - echo "username=$website_user" > jpexs_website.properties - echo "password=$website_password" >> jpexs_website.properties