diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index df19a9869c6ab0b11639429a43f6e03dd90d5aa0..0dbc258da3067389844091dd0bcbc3fdf710324c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,6 @@ # 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