travis -- upgrade nodejs on osx

This commit is contained in:
Eugene Bujak 2018-08-31 13:07:37 +03:00
parent f054dcede4
commit ad91ba8f43

View File

@ -13,7 +13,7 @@ os:
before_install: before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then curl -o- -L https://yarnpkg.com/install.sh | bash; fi - 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" == "linux" ]]; then export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install yarn; fi - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew upgrade && brew install yarn; fi
script: script:
- cd dnsfilter && go get -d -t . && go test - cd dnsfilter && go get -d -t . && go test