From 49ece50f42bdf8158d88a0c502213d67fc208f11 Mon Sep 17 00:00:00 2001 From: Yanyan-Wang Date: Tue, 10 Mar 2020 11:58:44 +0800 Subject: [PATCH] fix: rm -rf only node_modules --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index e88886139b..b3a86939e5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,7 +15,7 @@ addons: install: - export DISPLAY=':99.0' - Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 & - - npm install + - rm -rf node_modules npm install script: - npm run ci && cat ./coverage/lcov.info | rm -rf ./coverage