diff --git a/.travis.yml b/.travis.yml index 587bd3e0..1c6c9bdf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1 +1,9 @@ +sudo: required +dist: trusty language: node_js +node_js: + - node +script: + - npm run ci +notifications: + email: false diff --git a/package.json b/package.json index ddaba900..6614dd45 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,8 @@ "main": "index.js", "scripts": { "lint": "eslint ./src/*", - "test": "jest" + "test": "jest", + "ci": "npm run lint && npm run test" }, "repository": { "type": "git",