From 22d3acca5b88b7e5eba588a4cdabe12b84a4a976 Mon Sep 17 00:00:00 2001 From: EvsChen Date: Thu, 17 Jan 2019 23:47:00 +0800 Subject: [PATCH] fix(test): fix travis ts build --- .travis.yml | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 10327d0cbe2..a491871cf9c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -32,6 +32,7 @@ before_install: install: - travis_wait npm ci + - lerna bootstrap - npm install -g codecov - npm install -g eslint diff --git a/package.json b/package.json index 8f4f991c138..7d174db3c29 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "test": "nyc jest --maxWorkers=4 --reporters=default --reporters=jest-junit", "test:ci": "nyc jest --maxWorkers=$(nproc) --reporters=default --reporters=jest-junit", "travis:integration": "npm run build && npm run test && npm run reportCoverage", - "travis:lint": "lerna bootstrap && npm run build && npm run lint && npm run tslint && npm run bundlesize", + "travis:lint": "npm run build && npm run lint && npm run tslint && npm run bundlesize", "tslint": "tslint -c tslint.json \"packages/**/*.ts\"", "watch": "npm run build && tsc -w", "postinstall": "lightercollective"