mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-23 04:18:21 +00:00
travis ci: download phantomjs from bintray instead of bitbucket.
This commit is contained in:
@@ -10,7 +10,7 @@ SEAHUB_SRCDIR=$(dirname "${SEAHUB_TESTSDIR}")
|
|||||||
cd "$SEAHUB_SRCDIR"
|
cd "$SEAHUB_SRCDIR"
|
||||||
|
|
||||||
# install phantomjs
|
# install phantomjs
|
||||||
curl -L -o /tmp/phantomjs.tar.bz2 https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.7-linux-x86_64.tar.bz2
|
curl -L -o /tmp/phantomjs.tar.bz2 https://dl.bintray.com/seafile-org/generic/phantomjs/phantomjs-1.9.7-linux-x86_64.tar.bz2
|
||||||
tar -C /tmp -xf /tmp/phantomjs.tar.bz2
|
tar -C /tmp -xf /tmp/phantomjs.tar.bz2
|
||||||
sudo install -m 755 /tmp/phantomjs-1.9.7-linux-x86_64/bin/phantomjs /usr/bin/phantomjs
|
sudo install -m 755 /tmp/phantomjs-1.9.7-linux-x86_64/bin/phantomjs /usr/bin/phantomjs
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user