travis: Install nodejs on Windows

This commit is contained in:
Bjørn Erik Pedersen 2020-11-05 07:51:41 +01:00
parent 944150bafb
commit f66302ca05
No known key found for this signature in database
GPG key ID: 330E6E2BD4859D8F

View file

@ -50,6 +50,7 @@ before_install:
# https://travis-ci.community/t/go-cant-find-gcc-with-go1-11-1-on-windows/293/5
- if [ "$TRAVIS_OS_NAME" = "windows" ]; then
choco install mingw -y;
choco install -y --force nodejs;
export PATH=/c/tools/mingw64/bin:"$PATH";
fi
- gem install asciidoctor