From 0ae5406b4eed56d4274c6485460a8f268367882e Mon Sep 17 00:00:00 2001 From: Amila Welihinda Date: Tue, 26 Jul 2016 13:28:03 -0700 Subject: [PATCH] Added optimal travis ci settings * Faster builds * More stable tests (force npm installation to be latest version) --- .travis.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 338ccca..340ca1b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,13 +1,25 @@ sudo: false # http://docs.travis-ci.com/user/workers/container-based-infrastructure/ + language: node_js + node_js: - 0.12 - 4 - 5 - 6 +cache: + directories: + - node_modules + +install: + - npm i -g npm@latest + - npm install + notifications: email: - medikoo+memoize@medikoo.com -script: "npm test && npm run lint" +script: + - npm run test + - npm run lint