Skip to content

Commit

Permalink
Bug #2, Travis-CI fix - npm install csslint [iet:8503203]
Browse files Browse the repository at this point in the history
  • Loading branch information
nfreear committed Mar 29, 2017
1 parent ae22930 commit 38a92c9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ install:
- composer npm-install
- composer eslint-config
- composer jshint-config
- composer ci-ignore
- composer write-ignore-xml
- composer less

script:
Expand Down
7 changes: 5 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"squizlabs/php_codesniffer": "2.8.1"
},
"scripts": {
"ci-ignore": [
"write-ignore-xml": [
"echo '<?xml version=\"1.0\"?>\n<libraries>' > thirdpartylibs.xml",
"echo '\t<library><location>db/User.php</location></library>' >> thirdpartylibs.xml",
"echo '\t<library><location>vendor/</location></library>' >> thirdpartylibs.xml",
Expand All @@ -46,7 +46,10 @@
"sym-links": [
"cd ../moodle-auth-openid && ln -s ../moodle-auth-ouopenid/event.php"
],
"npm-install": "npm install eslint less",
"npm-install": [
"npm install eslint less",
"npm install -g csslint"
],
"jshint-config": "echo '{ \"laxcomma\": true }' > .jshintrc",
"eslint-config": [
"echo '---\n extends: eslint:recommended\n globals:\n window: false\n root: true\n' > .eslintrc.yaml",
Expand Down

0 comments on commit 38a92c9

Please sign in to comment.