Brew install
This commit is contained in:
parent
a8b836656e
commit
5be86fcd99
1 changed files with 5 additions and 3 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue