Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
afi
Pellicule
Commits
66f769c7
Commit
66f769c7
authored
Mar 11, 2022
by
Patrick Barroca
😁
Browse files
Configure SAST in `.gitlab-ci.yml`, creating this file if it does not already exist
parent
a5b97654
Pipeline
#16722
passed with stage
in 1 minute and 19 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
7 deletions
+18
-7
.gitlab-ci.yml
.gitlab-ci.yml
+18
-7
No files found.
.gitlab-ci.yml
View file @
66f769c7
# You can override the included template(s) by including variable overrides
# SAST customization: https://docs.gitlab.com/ee/user/application_security/sast/#customizing-the-sast-settings
# Secret Detection customization: https://docs.gitlab.com/ee/user/application_security/secret_detection/#customizing-settings
# Note that environment variables can be set in several places
# See https://docs.gitlab.com/ee/ci/variables/#priority-of-environment-variables
test:php7_latest:
image
:
php:7
script
:
-
apt update -yqq && apt install git zip -yqq
-
git submodule init
-
git submodule update
-
php --version
-
./vendor/bin/phpunit -c tests/phpunit.xml --testdox
-
apt update -yqq && apt install git zip -yqq
-
git submodule init
-
git submodule update
-
php --version
-
"
./vendor/bin/phpunit
-c
tests/phpunit.xml
--testdox
"
except
:
-
tags
-
tags
tags
:
-
docker
-
docker
stages
:
-
test
sast
:
stage
:
test
include
:
-
template
:
Security/SAST.gitlab-ci.yml
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