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

Try and do some js syntax checking

parent 1e37830a
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,8 @@ stages:
before_script:
- apt-get clean
- apt-get update
- apt-get install -y php5-cli
- apt-get install -y php5-cli npm
- npm install -g jshint
php-syntax-check:
stage: test
......@@ -19,7 +20,12 @@ php-syntax-check:
- find components | xargs -n 1 php -l
- find plugins | xargs -n 1 php -l
- find lib | xargs -n 1 php -l
js-syntax-check:
stage: test
script:
- find htdocs/js | xargs -n 1 jshint --verbose
fake-deploy-beta:
stage: deploy
script:
......
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