summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2014-05-21 12:45:22 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2014-05-21 14:43:44 +0200
commit7230330740eff79dc910d2a20418545bdcf2f65c (patch)
tree69e0ce05f5e2200f62731824f872ed3238acd324 /script
parent58532ed07619e3576f4e7982ffc28cead44cb661 (diff)
downloadlibgit2-7230330740eff79dc910d2a20418545bdcf2f65c.tar.gz
travis: build on osx toocmn/dual-os
Diffstat (limited to 'script')
-rwxr-xr-xscript/install-deps-linux.sh6
-rwxr-xr-xscript/install-deps-osx.sh5
2 files changed, 11 insertions, 0 deletions
diff --git a/script/install-deps-linux.sh b/script/install-deps-linux.sh
new file mode 100755
index 000000000..347922b89
--- /dev/null
+++ b/script/install-deps-linux.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+set -x
+
+sudo apt-get -qq update &&
+sudo apt-get -qq install cmake libssh2-1-dev openssh-client openssh-server
diff --git a/script/install-deps-osx.sh b/script/install-deps-osx.sh
new file mode 100755
index 000000000..c2e0162d8
--- /dev/null
+++ b/script/install-deps-osx.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+set -x
+
+brew install libssh2 cmake