Skip to content
Snippets Groups Projects
Commit 325be9b7 authored by Isabel Jenkins's avatar Isabel Jenkins
Browse files

Merge branch 'master' of projects.sucs.org:sucssite/sucs-site

parents 09cb85e1 f522dda5
No related branches found
No related tags found
No related merge requests found
# specify what docker image
# go with the default image for now and mangle it
#image: ruby:2.1
#image: debian:jessie
stages:
- test
......@@ -14,7 +14,7 @@ php-syntax-check:
script:
- apt-get clean
- apt-get update
- apt-get install -y php5-cli
- apt-get install -y php-cli
- php -l htdocs/index.php
- find components -name *.php | xargs -n 1 php -l
- find plugins -name *.php | xargs -n 1 php -l
......@@ -25,8 +25,11 @@ js-syntax-check:
script:
- apt-get clean
- apt-get update
- apt-get install -y npm
- ln -s /usr/bin/nodejs /usr/bin/node
# - apt-get install -y nodejs
# - ln -s /usr/bin/nodejs /usr/bin/node
- apt-get install -y curl gnupg
- curl -sL https://deb.nodesource.com/setup_8.x | bash -
- apt-get install -y nodejs
- npm install -g jshint
- find htdocs/js/ -name *.js ! -name jquery* | xargs -n 1 jshint --verbose
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment