Skip to content
Snippets Groups Projects
Commit 9e43fafb authored by Imran Hussain's avatar Imran Hussain
Browse files

Merge branch 'fix-ci' into 'master'

Use node:current image

See merge request !124
parents 153f56fe c977f70e
No related branches found
No related tags found
3 merge requests!126Beta to live!,!125Master to beta,!124Use node:current image
Pipeline #827 passed
......@@ -22,15 +22,8 @@ php-syntax-check:
js-syntax-check:
stage: test
image: node:current
script:
- apt-get clean
- apt-get update
# - 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
- apt-get install -y npm
- npm install -g jshint
- find htdocs/js/ -name *.js ! -name jquery* | xargs -n 1 jshint --verbose
......@@ -52,4 +45,4 @@ deploy-live:
- curl https://sucs.org/pull.php
only:
- sucs-site
environment: live
\ No newline at end of file
environment: live
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