Commit d18fe209 authored by Kamil Trzcinski's avatar Kamil Trzcinski Committed by Alfredo Sumaran

Use new PhantomJS version

parent 30f5b9a5
...@@ -15,6 +15,7 @@ variables: ...@@ -15,6 +15,7 @@ variables:
USE_DB: "true" USE_DB: "true"
USE_BUNDLE_INSTALL: "true" USE_BUNDLE_INSTALL: "true"
GIT_DEPTH: "20" GIT_DEPTH: "20"
PHANTOMJS_DEB: "phantomjs_2.1.1+dfsg-2_amd64.deb"
before_script: before_script:
- source ./scripts/prepare_build.sh - source ./scripts/prepare_build.sh
......
...@@ -20,10 +20,10 @@ if [ -f /.dockerenv ] || [ -f ./dockerinit ]; then ...@@ -20,10 +20,10 @@ if [ -f /.dockerenv ] || [ -f ./dockerinit ]; then
# Install phantomjs package # Install phantomjs package
pushd vendor/apt pushd vendor/apt
if [ ! -e phantomjs_1.9.8-0jessie_amd64.deb ]; then if [ ! -e "$PHANTOMJS_DEB" ]; then
wget -q https://gitlab.com/axil/phantomjs-debian/raw/master/phantomjs_1.9.8-0jessie_amd64.deb wget -q "http://ftp.us.debian.org/debian/pool/main/p/phantomjs/$PHANTOMJS_DEB"
fi fi
dpkg -i phantomjs_1.9.8-0jessie_amd64.deb dpkg -i "$PHANTOMJS_DEB"
popd popd
# Try to install packages # Try to install packages
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment