diff --git a/.travis.yml b/.travis.yml index 8bb2291..5a0d8fb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,7 +16,7 @@ install: - composer npm-install - composer eslint-config - composer jshint-config - - composer ci-ignore + - composer write-ignore-xml - composer less script: diff --git a/composer.json b/composer.json index e0c2cb0..21ae91a 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ "squizlabs/php_codesniffer": "2.8.1" }, "scripts": { - "ci-ignore": [ + "write-ignore-xml": [ "echo '\n' > thirdpartylibs.xml", "echo '\tdb/User.php' >> thirdpartylibs.xml", "echo '\tvendor/' >> thirdpartylibs.xml", @@ -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",