Docgen only on Windows

This commit is contained in:
Ganesh Viswanathan 2018-11-02 14:14:15 -05:00
commit 34efd6619f
3 changed files with 17 additions and 16 deletions

View file

@ -7,12 +7,12 @@ dist: trusty
addons:
apt:
packages:
- python-pygments
- 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 VERSION=`echo $TXZ | cut -d"-" -f 2,2`
- gcc -v
- 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