Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Open sidebar
1of0
php
curly
Commits
1f35bec9
Commit
1f35bec9
authored
May 17, 2018
by
TheBigB
Browse files
Update composer dependencies
parent
4be4856e
Pipeline
#22183743
failed with stage
in 2 minutes and 15 seconds
Changes
3
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
236 additions
and
230 deletions
+236
-230
.ci/docker_install.sh
.ci/docker_install.sh
+0
-23
.gitlab-ci.yml
.gitlab-ci.yml
+6
-6
composer.lock
composer.lock
+230
-201
No files found.
.ci/docker_install.sh
deleted
100755 → 0
View file @
4be4856e
#!/bin/bash
[[
!
-e
/.dockerenv
]]
&&
[[
!
-e
/.dockerinit
]]
&&
exit
0
set
-xe
apt-get update
apt-get
install
-qyy
git unzip curl
# Python tools to run the test HTTP API
apt-get
install
-qyy
python-pip gunicorn
pip
install
httpbin
curl
--location
--output
/usr/local/bin/phpunit https://phar.phpunit.de/phpunit.phar
chmod
+x /usr/local/bin/phpunit
curl
--location
--output
/usr/local/bin/composer https://getcomposer.org/composer.phar
chmod
+x /usr/local/bin/composer
echo
"date.timezone = UTC"
>>
/usr/local/etc/php/conf.d/test.ini
pecl
install
xdebug
docker-php-ext-enable xdebug
.gitlab-ci.yml
View file @
1f35bec9
test:5.6:
image
:
1of0/php-ci:5.6-httpbin
script
:
-
composer install
-
phpunit --configuration phpunit.xml
-
composer install
--ignore-platform-reqs
-
vendor/bin/
phpunit --configuration phpunit.xml
test:7.0:
image
:
1of0/php-ci:7.0-httpbin
script
:
-
composer install
-
phpunit --configuration phpunit.xml
-
composer install
--ignore-platform-reqs
-
vendor/bin/
phpunit --configuration phpunit.xml
coverage
:
image
:
1of0/php-ci:7.0-httpbin
script
:
-
composer install
-
phpunit --coverage-text --colors=never --configuration phpunit.xml
-
composer install
--ignore-platform-reqs
-
vendor/bin/
phpunit --coverage-text --colors=never --configuration phpunit.xml
composer.lock
View file @
1f35bec9
This diff is collapsed.
Click to expand it.
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