diff --git a/.travis.yml b/.travis.yml index 6eb28acf..8ca711aa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,3 +3,6 @@ node_js: - "6" - "8" cache: yarn +script: + - npm run lint + - npm test diff --git a/package.json b/package.json index 5297b964..d61ba1d9 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,8 @@ }, "license": "MIT", "scripts": { - "test": "jest" + "test": "jest", + "lint": "eslint ./src" }, "repository": { "type": "git",