Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Ablota
Tools
Laravel Threema Notification Channel
Commits
bacf307e
Verified
Commit
bacf307e
authored
Mar 06, 2022
by
FabioWidmer
Browse files
Fix GitLab pipeline
parent
7380cc9c
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
bacf307e
...
...
@@ -2,8 +2,7 @@ stages:
-
test
-
build
phpunit
:
image
:
composer:latest
.phpunit-template
:
&phpunit-template
stage
:
test
cache
:
key
:
${CI_COMMIT_REF_SLUG}
...
...
@@ -19,9 +18,18 @@ phpunit:
cobertura
:
coverage.xml
expire_in
:
1 week
script
:
-
sed -i 's#../../threema/#vendor/threema/#g' composer.json
-
composer install
-
./vendor/phpunit/phpunit/phpunit --configuration phpunit.xml --coverage-text --colors=never --log-junit report.xml --coverage-cobertura coverage.xml
phpunit:8.0:
image
:
laravelsail/php80-composer:latest
<<
:
*phpunit-template
phpunit:8.1:
image
:
laravelsail/php81-composer:latest
<<
:
*phpunit-template
publish
:
image
:
curlimages/curl:latest
stage
:
build
...
...
Write
Preview
Supports
Markdown
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