From 3af62e463a5211ad5c8cd8967b8a37f12e3b6db5 Mon Sep 17 00:00:00 2001 From: Eugene Bujak Date: Fri, 31 Aug 2018 13:30:41 +0300 Subject: [PATCH] travis -- install lts/* version of node via travis configuration instead of brew --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 91604893..76a15210 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,9 @@ go: - master - tip +node_js: + - lts/* + os: - linux - osx @@ -13,7 +16,7 @@ os: before_install: - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then curl -o- -L https://yarnpkg.com/install.sh | bash; fi - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"; fi - - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew upgrade && brew install yarn; fi + - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install yarn; fi script: - cd dnsfilter && go get -d -t . && go test