From fcebd0dba7812548ee6daeba8826748255a5ed16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Mierzwa?= Date: Tue, 25 Apr 2017 20:22:08 -0700 Subject: [PATCH] Install nodejs & jshint on travis --- .travis.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.travis.yml b/.travis.yml index 32213912a..043745934 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,5 +6,15 @@ go: go_import_path: github.com/cloudflare/unsee +# nodejs is needed so that we can install jshint +addons: + apt: + packages: + - nodejs + +# install jshint, it's used for linting js files (needs nodejs) +before_script: + - npm install jshint + script: - make test