From cd4645e5b39944c159ebaf089da9f68606c39e35 Mon Sep 17 00:00:00 2001 From: Faris Ansari Date: Wed, 6 Jun 2018 23:19:16 +0530 Subject: [PATCH] Cache npm and cache directories, and run test using npm (#34) --- .travis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8e2c379..83c5b23 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,8 +3,10 @@ node_js: - 8 cache: directories: + - ~/.npm + - ~/.cache - node_modules install: - - yarn + - npm install script: - - yarn test \ No newline at end of file + - npm test \ No newline at end of file