Skip to content

Commit

Permalink
[REF] install: Skip webkit installation if there is a issue (OCA#449)
Browse files Browse the repository at this point in the history
* [REF] install: Skip webkit installation if there is a issue

* [REF] install: Skip webkit installation if is not required a custom version
  • Loading branch information
moylop260 authored and bt-admin committed Oct 20, 2017
1 parent c653409 commit 6117dcc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions travis/travis_install_nightly
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,10 @@ if [ "$clone_result" != "0" ]; then
exit $clone_result
fi;

echo "Install webkit (wkhtmltopdf) patched"
(cd ${HOME}/maintainer-quality-tools/travis/ && wget -qO- https://downloads.wkhtmltopdf.org/0.12/0.12.3/wkhtmltox-0.12.3_linux-generic-amd64.tar.xz | tar -xJ --strip-components=2 wkhtmltox/bin/wkhtmltopdf)
if [ "${WKHTMLTOPDF_VERSION}" != "" ]; then
echo "Install webkit (wkhtmltopdf) patched version ${WKHTMLTOPDF_VERSION}"
(cd ${HOME}/maintainer-quality-tools/travis/ && wget -qO- -t 1 --timeout=240 https://downloads.wkhtmltopdf.org/0.12/${WKHTMLTOPDF_VERSION}/wkhtmltox-${WKHTMLTOPDF_VERSION}_linux-generic-amd64.tar.xz | tar -xJ --strip-components=2 wkhtmltox/bin/wkhtmltopdf)
fi;

# Expected directory structure:
#
Expand Down

0 comments on commit 6117dcc

Please sign in to comment.