From f4dfddef8e2479a2613b463dbc54e227e42b334a Mon Sep 17 00:00:00 2001 From: Joe Fleming Date: Wed, 28 Mar 2018 14:44:38 -0700 Subject: [PATCH] chore: change travis script run lint and test --- .travis.yml | 2 ++ package.json | 1 + 2 files changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index 8d14008..627e4b1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,6 +16,8 @@ notifications: after_success: npm run coverage +script: npm run test:ci + branches: only: - master diff --git a/package.json b/package.json index 76f4def..03662ba 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,7 @@ "prepublish": "in-publish && npm run test || not-in-publish", "test": "retire -n -p package.json && npm run build && npm run unit", "lint": "eslint \"*.js\" \"src/**/*.js\"", + "test:ci": "npm run lint && npm run test", "unit": "nyc --require babel-core/register mocha test/src/**" }, "author": "Joe Fleming (https://github.com/w33ble)",