Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
monitoring
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cylab
monitoring
Commits
a2b86f68
Commit
a2b86f68
authored
5 years ago
by
Tibo
Browse files
Options
Downloads
Patches
Plain Diff
clean .gitlab-ci.yml
parent
ad11725a
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#2539
passed
5 years ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+8
-10
8 additions, 10 deletions
.gitlab-ci.yml
with
8 additions
and
10 deletions
.gitlab-ci.yml
+
8
−
10
View file @
a2b86f68
services
:
-
mongo
## Cache composer packages between all jobs and all branches
## of this project...
cache
:
...
...
@@ -8,7 +5,12 @@ cache:
paths
:
-
composer-cache/
.phptest
:
# Test with PHP7.2
test:php72
:
image
:
cylab/php72
services
:
-
mongo
before_script
:
# Install all project dependencies
-
COMPOSER_CACHE_DIR=./composer-cache composer install
...
...
@@ -16,12 +18,6 @@ cache:
-
cp env.test .env
-
touch storage/app/db.sqlite
-
php artisan migrate
# Test with PHP7.2
test:php72
:
extends
:
.phptest
image
:
cylab/php72
script
:
-
vendor/bin/phpunit --coverage-text
-
vendor/bin/phpcs
...
...
@@ -32,3 +28,5 @@ test:gitleaks:
entrypoint
:
[
"
"
]
script
:
-
gitleaks -v --repo-path=./ --config=gitleaks.toml
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