BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
7d11ed93
Commit
7d11ed93
authored
Jan 30, 2017
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'improve-ci-example-php-doc' into 'master'
Changed composer installer script in the CI PHP example doc See merge request !8817
parents
fabdcf81
11551de5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
improve-ci-example-php-doc.yml
changelogs/unreleased/improve-ci-example-php-doc.yml
+4
-0
php.md
doc/ci/examples/php.md
+5
-1
No files found.
changelogs/unreleased/improve-ci-example-php-doc.yml
0 → 100644
View file @
7d11ed93
---
title
:
Changed composer installer script in the CI PHP example doc
merge_request
:
4342
author
:
Jeffrey Cafferata
doc/ci/examples/php.md
View file @
7d11ed93
...
...
@@ -235,7 +235,11 @@ cache:
before_script
:
# Install composer dependencies
-
curl --silent --show-error https://getcomposer.org/installer | php
-
wget https://composer.github.io/installer.sig -O - -q | tr -d '\n' > installer.sig
-
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
-
php -r "if (hash_file('SHA384', 'composer-setup.php') === file_get_contents('installer.sig')) { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
-
php composer-setup.php
-
php -r "unlink('composer-setup.php'); unlink('installer.sig');"
-
php composer.phar install
...
...
...
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