From 6b22a4ab4d018aa8647fdc4f921e322e287dc1ca Mon Sep 17 00:00:00 2001 From: Daniel Ruf Date: Sat, 23 Jun 2018 22:33:42 +0200 Subject: [PATCH] chore: improve Travis CI config --- .travis.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 997cb74..9b693dc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,9 @@ language: node_js node_js: - - '10.1.0' + - '8' + - '10' install: + - npm i -g npm@latest - npm install -g eslint - npm install -g babel-eslint - npm install -g eslint-plugin-react @@ -9,3 +11,8 @@ install: - npm install -g eslint-config-synacor script: - npm run lint + - npm ci + - npm run test +cache: + directories: + - '$HOME/.npm' \ No newline at end of file