Commit c3fae35d authored by Imran Hussain's avatar Imran Hussain
Browse files

Add CI/CD

parent f11ef777
Pipeline #813 passed with stage
in 1 minute and 48 seconds
# specify what docker image
# go with the default image for now and mangle it
#image: debian:jessie
stages:
- test
- deploy
#before_script:
php-syntax-check:
stage: test
script:
- apt-get clean
- apt-get update
- apt-get install -y php-cli
- php -l lib/db.php
- php -l public/index.php
- php -l public/pull.php
- find public/api/v1 -name *.php | xargs -n 1 php -l
deploy-live:
stage: deploy
script:
- apt update
- apt install -y curl
- curl https://sso.sucs.org/pull.php
only:
- master
environment: live
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment