diff --git a/.travis.yml b/.travis.yml index 9d6a114391c..0fde128e1fe 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,6 @@ language: node_js node_js: - node # Latest stable version of nodejs. +script: + - npm run lint + - npm run test diff --git a/package.json b/package.json index 4eedc965dbf..26cf0ad0853 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "dist": "npm run build", "watch": "watchify --exclude olm browser-index.js -o dist/browser-matrix-dev.js -v", "lint": "eslint --max-warnings 122 src spec", - "prepublish": "npm run lint && npm run build && git rev-parse HEAD > git-revision.txt" + "prepublish": "npm run build && git rev-parse HEAD > git-revision.txt" }, "repository": { "url": "https://github.com/matrix-org/matrix-js-sdk"