Add windows to Travis, use script
This commit is contained in:
parent
a7aa69f71d
commit
d6e69dbf84
1 changed files with 5 additions and 7 deletions
12
.travis.yml
12
.travis.yml
|
|
@ -1,4 +1,5 @@
|
||||||
os:
|
os:
|
||||||
|
- windows
|
||||||
- linux
|
- linux
|
||||||
- osx
|
- osx
|
||||||
|
|
||||||
|
|
@ -16,15 +17,12 @@ env:
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
directories:
|
directories:
|
||||||
- "$HOME/.choosenim/toolchains/nim-0.20.2"
|
- "$HOME/.choosenim"
|
||||||
- "$HOME/.choosenim/toolchains/nim-1.0.6"
|
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- export CHOOSENIM_CHOOSE_VERSION=$BRANCH
|
- export PATH="/usr/local/opt/gettext/bin:$PATH"
|
||||||
- |
|
- curl https://gist.github.com/genotrance/fb53504a4fba88bc5201d3783df5c522/raw/travis.sh -LsSf -o travis.sh
|
||||||
curl https://nim-lang.org/choosenim/init.sh -sSf > init.sh
|
- source travis.sh
|
||||||
sh init.sh -y
|
|
||||||
- export PATH="$HOME/.nimble/bin:/usr/local/opt/gettext/bin:$PATH"
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- nimble --verbose install -y
|
- nimble --verbose install -y
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue