fixed adding file problem
[c11concurrency-benchmarks.git] / gdax-orderbook-hpp / demo / dependencies / libcds-2.3.2 / build / CI / travis-ci / install.sh
diff --git a/gdax-orderbook-hpp/demo/dependencies/libcds-2.3.2/build/CI/travis-ci/install.sh b/gdax-orderbook-hpp/demo/dependencies/libcds-2.3.2/build/CI/travis-ci/install.sh
new file mode 100755 (executable)
index 0000000..4b6b664
--- /dev/null
@@ -0,0 +1,31 @@
+#!/bin/bash
+
+set -e
+set -x
+
+if [[ "$(uname -s)" == 'Darwin' ]]; then
+    brew update || brew update
+    brew outdated pyenv || brew upgrade pyenv
+    brew install pyenv-virtualenv
+    brew install cmake || true
+
+    if which pyenv > /dev/null; then
+        eval "$(pyenv init -)"
+    fi
+
+    pyenv install 2.7.10
+    pyenv virtualenv 2.7.10 conan
+    pyenv rehash
+    pyenv activate conan
+    
+    pip install conan --upgrade
+    pip install conan_package_tools
+
+    conan user
+    exit 0
+fi
+
+pip install --user conan --upgrade
+pip install --user conan_package_tools
+
+conan user