mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-15 18:08:30 -07:00
travis -- install lts/* version of node via travis configuration instead of brew
This commit is contained in:
parent
ad91ba8f43
commit
3af62e463a
@ -6,6 +6,9 @@ go:
|
|||||||
- master
|
- master
|
||||||
- tip
|
- tip
|
||||||
|
|
||||||
|
node_js:
|
||||||
|
- lts/*
|
||||||
|
|
||||||
os:
|
os:
|
||||||
- linux
|
- linux
|
||||||
- osx
|
- osx
|
||||||
@ -13,7 +16,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 upgrade && brew install yarn; fi
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install yarn; fi
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- cd dnsfilter && go get -d -t . && go test
|
- cd dnsfilter && go get -d -t . && go test
|
||||||
|
Loading…
Reference in New Issue
Block a user