Skip to content
Commits on Source (8)
# 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
......