aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGanesh Viswanathan <dev@genotrance.com>2018-11-02 23:24:45 -0500
committerGanesh Viswanathan <dev@genotrance.com>2018-11-02 23:24:45 -0500
commit5be86fcd990162724298b4d3c9692fd3acd9f8ed (patch)
treebd64d876c03a076c2516fe2a3df336a6d9ec90de
parenta8b836656ef1d3147d16931daa0ddf53e6a925fb (diff)
downloadnimgen-travis-1.tar.gz
nimgen-travis-1.zip
Brew installv0.5.0travis-1
-rw-r--r--.travis.yml8
1 files changed, 5 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 66e3685..27b2cb1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -8,9 +8,10 @@ addons:
apt:
packages:
- libssh2-1-dev
- brew:
- packages:
- - libssh2
+
+before_install:
+ - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install libssh2; fi
+
before_script:
- 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/'`
@@ -26,6 +27,7 @@ before_script:
- ./koch nimble
- export PATH=$(pwd)/bin:~/.nimble/bin:$PATH
- cd ..
+
script:
- nimble install -y
- nimble test