This commit is contained in:
Ganesh Viswanathan 2018-11-02 15:09:28 -05:00
commit 5549505f61
2 changed files with 4 additions and 4 deletions

View file

@ -9,10 +9,10 @@ addons:
packages:
- libssh2-1-dev
before_script:
- export RELEASE=`curl --silent https://api.github.com/repos/nim-lang/nightlies/releases/latest | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/'`
- export TXZ=`curl --silent https://api.github.com/repos/nim-lang/nightlies/releases/latest | grep '"name":' | sed -E 's/.*"([^"]+)".*/\1/' | grep linux`
- export RELEASE=`curl --silent "https://api.github.com/repos/nim-lang/nightlies/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/'`
- export TXZ=`curl --silent "https://api.github.com/repos/nim-lang/nightlies/releases/latest" | grep '"name":' | sed -E 's/.*"([^"]+)".*/\1/' | grep linux`
- export VERSION=`echo $TXZ | cut -d"-" -f 2,2`
- gcc -v
- curl --silent "https://api.github.com/repos/nim-lang/nightlies/releases/latest"
- echo "RELEASE = $RELEASE, TXZ = $TXZ, VERSION = $VERSION"
- curl -L --silent -o $TXZ "https://github.com/nim-lang/nightlies/releases/download/$RELEASE/$TXZ"
- tar xf $TXZ

View file

@ -1,8 +1,8 @@
version: '{build}'
image:
- Visual Studio 2017
- Ubuntu
- Visual Studio 2017
matrix:
fast_finish: true