From d6e69dbf84e3f2c85e24a62c7bd3bb56090ca2da Mon Sep 17 00:00:00 2001 From: Ganesh Viswanathan Date: Tue, 10 Mar 2020 17:00:11 -0500 Subject: Add windows to Travis, use script --- .travis.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index d16b9fc..3201c6c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,5 @@ os: + - windows - linux - osx @@ -16,15 +17,12 @@ env: cache: directories: - - "$HOME/.choosenim/toolchains/nim-0.20.2" - - "$HOME/.choosenim/toolchains/nim-1.0.6" + - "$HOME/.choosenim" install: - - export CHOOSENIM_CHOOSE_VERSION=$BRANCH - - | - curl https://nim-lang.org/choosenim/init.sh -sSf > init.sh - sh init.sh -y - - export PATH="$HOME/.nimble/bin:/usr/local/opt/gettext/bin:$PATH" + - export PATH="/usr/local/opt/gettext/bin:$PATH" + - curl https://gist.github.com/genotrance/fb53504a4fba88bc5201d3783df5c522/raw/travis.sh -LsSf -o travis.sh + - source travis.sh script: - nimble --verbose install -y -- cgit v1.2.3