Fix travis again
This commit is contained in:
parent
c7c419e6fa
commit
d27d28f0d9
1 changed files with 3 additions and 3 deletions
|
|
@ -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`
|
||||
- curl --silent "https://api.github.com/repos/nim-lang/nightlies/releases/latest"
|
||||
- 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue