Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tatuya Kamada
gitlab-ce
Commits
e6173e05
Commit
e6173e05
authored
Aug 09, 2016
by
Kamil Trzcinski
Committed by
Alfredo Sumaran
Aug 13, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Install latest stable phantomjs
parent
d18fe209
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
.gitlab-ci.yml
.gitlab-ci.yml
+1
-1
scripts/prepare_build.sh
scripts/prepare_build.sh
+4
-3
No files found.
.gitlab-ci.yml
View file @
e6173e05
...
...
@@ -15,7 +15,7 @@ variables:
USE_DB
:
"
true"
USE_BUNDLE_INSTALL
:
"
true"
GIT_DEPTH
:
"
20"
PHANTOMJS_
DEB
:
"
phantomjs_2.1.1+dfsg-2_amd64.deb
"
PHANTOMJS_
VERSION
:
"
2.1.1
"
before_script
:
-
source ./scripts/prepare_build.sh
...
...
scripts/prepare_build.sh
View file @
e6173e05
...
...
@@ -20,10 +20,11 @@ if [ -f /.dockerenv ] || [ -f ./dockerinit ]; then
# Install phantomjs package
pushd
vendor/apt
if
[
!
-e
"
$PHANTOMJS_DEB
"
]
;
then
wget
-q
"http://ftp.us.debian.org/debian/pool/main/p/phantomjs/
$PHANTOMJS_DEB
"
PHANTOMJS_FILE
=
"phantomjs-
$PHANTOMJS_VERSION
-linux-x86_64"
if
[
!
-d
"
$PHANTOMJS_FILE
"
]
;
then
curl
-q
"https://bitbucket.org/ariya/phantomjs/downloads/
$PHANTOMJS_FILE
.tar.bz2"
|
tar
jx
fi
dpkg
-i
"
$PHANTOMJS_DEB
"
cp
"
$PHANTOMJS_FILE
/bin/phantomjs"
"/usr/bin/
"
popd
# Try to install packages
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment