Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sucs-site
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
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
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
George Henry Woolley
sucs-site
Commits
377fe00e
Commit
377fe00e
authored
9 years ago
by
Imran Hussain
Browse files
Options
Downloads
Patches
Plain Diff
Rewrite the gitlabci file.
parent
811d3956
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+38
-9
38 additions, 9 deletions
.gitlab-ci.yml
with
38 additions
and
9 deletions
.gitlab-ci.yml
+
38
−
9
View file @
377fe00e
before_script
:
-
apt-get clean
-
apt-get update
-
apt-get install -y php5-cli
# specify what docker image
# go with the default image for now and mangle it
#image: ruby:2.1
syntax
:
stages
:
-
prep
-
test
-
deploy
# we don't need to do anything before each stage
#before_script:
install-php
:
stage
:
prep
script
:
-
apt-get clean
-
apt-get update
-
apt-get install -y php5-cli
php-syntax-check
:
stage
:
test
script
:
-
php -l htdocs/index.php
-
find components | xargs -n 1 php -l
-
find plugins | xargs -n 1 php -l
-
find lib | xargs -n 1 php -l
fake-deploy-beta
:
stage
:
deploy
script
:
-
echo "Hello World!"
only
:
-
beta
fake-deploy-live
:
stage
:
deploy
script
:
-
php -l htdocs/index.php
-
find components | xargs -n 1 php -l
-
find plugins | xargs -n 1 php -l
-
find lib | xargs -n 1 php -l
\ No newline at end of file
-
echo "Hello World!"
only
:
-
sucs-site
\ No newline at end of file
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