<html lang='en'>
<head>
<meta content='text/html; charset=utf-8' http-equiv='Content-Type'>
<title>
GitLab
</title>
</meta>
</head>
<style>
  img {
    max-width: 100%;
    height: auto;
  }
  p.details {
    font-style:italic;
    color:#777
  }
  .footer p {
    font-size:small;
    color:#777
  }
  pre.commit-message {
    white-space: pre-wrap;
  }
  .file-stats a {
    text-decoration: none;
  }
  .file-stats .new-file {
    color: #090;
  }
  .file-stats .deleted-file {
    color: #B00;
  }
</style>
<body>
<div class='content'>
<h3>Imran Hussain pushed to branch master at <a href="https://projects.sucs.org/sucssite/sucs-site">sucssite / sucs-site</a></h3>
<h4>
Commits:
</h4>
<ul>
<li>
<strong><a href="https://projects.sucs.org/sucssite/sucs-site/commit/377fe00e393dd8a0c44a60170af2b8d02d52d7c3">377fe00e</a></strong>
<div>
<span>by Imran Hussain</span>
<i>at 2015-11-09T10:27:27Z</i>
</div>
<pre class='commit-message'>Rewrite the gitlabci file.</pre>
</li>
</ul>
<h4>1 changed file:</h4>
<ul>
<li class='file-stats'>
<a href='#diff-0'>
.gitlab-ci.yml
</a>
</li>
</ul>
<h4>Changes:</h4>
<li id='diff-0'>
<a href='https://projects.sucs.org/sucssite/sucs-site/commit/377fe00e393dd8a0c44a60170af2b8d02d52d7c3#diff-0'>
<strong>
.gitlab-ci.yml
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/.gitlab-ci.yml
</span><span style="color: #000000;background-color: #ddffdd">+++ b/.gitlab-ci.yml
</span><span style="color: #aaaaaa">@@ -1,11 +1,40 @@
</span><span style="color: #000000;background-color: #ffdddd">-before_script:
-  - apt-get clean
-  - apt-get update
-  - apt-get install -y php5-cli
</span><span style="color: #000000;background-color: #ddffdd">+# specify what docker image
+# go with the default image for now and mangle it
+#image: ruby:2.1
</span> 
<span style="color: #000000;background-color: #ffdddd">-syntax:
</span><span style="color: #000000;background-color: #ddffdd">+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
</span>   script:
<span style="color: #000000;background-color: #ffdddd">-  - 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
</span>\ No newline at end of file
<span style="color: #000000;background-color: #ddffdd">+   - echo "Hello World!"
+  only:
+   - sucs-site
</span>\ No newline at end of file
</code></pre>

<br>
</li>

</div>
<div class='footer' style='margin-top: 10px;'>
<p>

<br>
<a href="https://projects.sucs.org/sucssite/sucs-site/commit/377fe00e393dd8a0c44a60170af2b8d02d52d7c3">View it on GitLab</a>
<br>
You're receiving this email because of your account on <a href="https://projects.sucs.org/">projects.sucs.org</a>.
If you'd like to receive fewer emails, you can adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Commit","url":"https://projects.sucs.org/sucssite/sucs-site/commit/377fe00e393dd8a0c44a60170af2b8d02d52d7c3"}}</script>
</p>
</div>
</body>
</html>