Brew install

This commit is contained in:
Ganesh Viswanathan 2018-11-02 23:24:45 -05:00
commit 5be86fcd99

View file

@ -8,9 +8,10 @@ addons:
apt: apt:
packages: packages:
- libssh2-1-dev - libssh2-1-dev
brew:
packages: before_install:
- libssh2 - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install libssh2; fi
before_script: before_script:
- curl -u $TOKEN -o latest.json --silent https://api.github.com/repos/nim-lang/nightlies/releases/latest - curl -u $TOKEN -o latest.json --silent https://api.github.com/repos/nim-lang/nightlies/releases/latest
- export RELEASE=`cat latest.json | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/'` - export RELEASE=`cat latest.json | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/'`
@ -26,6 +27,7 @@ before_script:
- ./koch nimble - ./koch nimble
- export PATH=$(pwd)/bin:~/.nimble/bin:$PATH - export PATH=$(pwd)/bin:~/.nimble/bin:$PATH
- cd .. - cd ..
script: script:
- nimble install -y - nimble install -y
- nimble test - nimble test