Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
APIChatGPT
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SIGNORELLI Lucas
APIChatGPT
Commits
3fb7e857
Commit
3fb7e857
authored
2 years ago
by
Luquor
Browse files
Options
Downloads
Patches
Plain Diff
fix 2.0 ?
parent
2062ea0c
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#10844
passed
2 years ago
Stage: build
Stage: test
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+4
-6
4 additions, 6 deletions
.gitlab-ci.yml
with
4 additions
and
6 deletions
.gitlab-ci.yml
+
4
−
6
View file @
3fb7e857
image
:
image
:
name
:
codeception/codeception
name
:
codeception/codeception
entrypoint
:
[
"
/bin/sh"
,
"
-c
"
]
entrypoint
:
[
"
"
]
stages
:
stages
:
-
build
-
build
-
test
-
test
-
deploy
-
deploy
cache
:
paths
:
-
vendor/
build-job
:
# Le job se lance dans la phase de build
build-job
:
# Le job se lance dans la phase de build
stage
:
build
stage
:
build
script
:
script
:
-
echo "Building the project"
-
echo "Building the project"
-
composer install
# On installe les dépendances
-
composer install
# On installe les dépendances
-
composer remove phpunit/phpunit --dev
# On supprime phpunit
-
composer update
# On met à jour les dépendances
-
composer require "codeception/codeception" --dev
# On installe codeception
-
php vendor/bin/codecept bootstrap
# On initialise codeception
-
echo "Build done"
-
echo "Build done"
unit-test-job
:
# Le job se lance dans la phase de test
unit-test-job
:
# Le job se lance dans la phase de test
stage
:
test
stage
:
test
script
:
script
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment