Skip to content

Commit

Permalink
Update to SlimerJS 0.9.6.
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasrosdal committed Jun 8, 2015
1 parent 95e10d5 commit 50a7fb3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions scripts/freeciv-web-travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ resin_version="4.0.44"
resin_url="http://www.caucho.com/download/resin-${resin_version}.tar.gz"
tornado_url="https://pypi.python.org/packages/source/t/tornado/tornado-4.2.tar.gz"
jansson_url="http://www.digip.org/jansson/releases/jansson-2.7.tar.bz2"
slimerjs_url="https://github.com/laurentj/slimerjs/archive/master.zip" #must use master, because 0.9.5 doesn't work.
slimerjs_url="http://download.slimerjs.org/releases/0.9.6/slimerjs-0.9.6.zip"
casperjs_url="https://github.com/n1k0/casperjs/archive/1.1-beta3.zip"
nginx_url="http://nginx.org/download/nginx-1.8.0.tar.gz"

Expand Down Expand Up @@ -122,10 +122,10 @@ cat ${basedir}/logs/*.log
echo "============================================"
echo "Installing SlimerJS and CasperJS for testing"
export SLIMERJSLAUNCHER=/usr/bin/firefox
export SLIMERJS_EXECUTABLE=${basedir}/tests/slimerjs-master/src/slimerjs
export SLIMERJS_EXECUTABLE=${basedir}/tests/slimerjs-0.9.6/slimerjs
cd ${basedir}/tests
wget ${slimerjs_url}
unzip -q master.zip
unzip -q slimerjs-0.9.6.zip
wget ${casperjs_url}
unzip -q 1.1-beta3.zip
cd casperjs-1.1-beta3
Expand Down
8 changes: 4 additions & 4 deletions scripts/freeciv-web-vagrant.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ mysql_pass="vagrant"
resin_version="4.0.44"
resin_url="http://www.caucho.com/download/resin-${resin_version}.tar.gz"
tornado_url="https://pypi.python.org/packages/source/t/tornado/tornado-4.2.tar.gz"
slimerjs_url="https://github.com/laurentj/slimerjs/archive/master.zip" #must use master, because 0.9.5 doesn't work.
slimerjs_url="http://download.slimerjs.org/releases/0.9.6/slimerjs-0.9.6.zip"
casperjs_url="https://github.com/n1k0/casperjs/archive/1.1-beta3.zip"

# Based on fresh install of Ubuntu 12.04
Expand Down Expand Up @@ -119,12 +119,12 @@ fi
echo "============================================"
echo "Installing SlimerJS and CasperJS for testing"
export SLIMERJSLAUNCHER=/usr/bin/firefox
export SLIMERJS_EXECUTABLE=${basedir}/tests/slimerjs-master/src/slimerjs
export SLIMERJS_EXECUTABLE=${basedir}/tests/slimerjs-0.9.6/slimerjs
cd ${basedir}/tests
wget ${slimerjs_url}
unzip master.zip
unzip -o slimerjs-0.9.6.zip
wget ${casperjs_url}
unzip 1.1-beta3.zip
unzip -o 1.1-beta3.zip
cd casperjs-1.1-beta3
ln -sf `pwd`/bin/casperjs /usr/local/bin/casperjs

Expand Down

0 comments on commit 50a7fb3

Please sign in to comment.