Debian Codegraph @

.travis/install.sh

raw symbols SCIP
1 #!/bin/bash
2
3 set -ex
4
5 if [[ "$(uname -s)" == 'Darwin' ]]; then
6 sw_vers
7
8 git clone --depth 1 https://github.com/pyenv/pyenv ~/.pyenv
9 export PYENV_ROOT="$HOME/.pyenv"
10 export PATH="$PYENV_ROOT/bin:$PATH"
11 eval "$(pyenv init --path)"
12
13 case "${TOXENV}" in
14 py36)
15 pyenv install 3.6.1
16 pyenv global 3.6.1
17 ;;
18 esac
19 pyenv rehash
20 fi
21
22 pip install virtualenv
23 python -m virtualenv ~/.venv
24 source ~/.venv/bin/activate
25 pip install -r requirements-dev.txt -U --upgrade-strategy only-if-needed