Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2073137
commit 2ef390f
Showing
7 changed files
with
79 additions
and
29 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash | ||
|
||
PYENV_ROOT="$HOME/.pyenv" | ||
PATH="$PYENV_ROOT/bin:$PATH" | ||
eval "$(pyenv init -)" | ||
pyenv local $PYTHON_VERSION | ||
pyenv global $PYTHON_VERSION | ||
|
||
ENV=$HOME/env | ||
source $ENV/bin/activate | ||
|
||
coveralls |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#!/bin/bash | ||
|
||
set -ex | ||
|
||
PYENV_ROOT="$HOME/.pyenv" | ||
git clone https://github.com/yyuu/pyenv.git $PYENV_ROOT | ||
PATH="$PYENV_ROOT/bin:$PATH" | ||
eval "$(pyenv init -)" | ||
pyenv install $PYTHON_VERSION -s | ||
pyenv local $PYTHON_VERSION | ||
pyenv global $PYTHON_VERSION | ||
pyenv rehash | ||
which python | ||
python --version | ||
pip install --upgrade pip virtualenv | ||
|
||
ENV=$HOME/env | ||
virtualenv $ENV | ||
source $ENV/bin/activate | ||
echo $VIRTUAL_ENV | ||
python --version | ||
|
||
pip install coveralls | ||
|
||
openssl version -a | ||
python -c 'import ssl; print(ssl.OPENSSL_VERSION)' | ||
python -c 'import ssl; print(ssl.HAS_NPN)' | ||
python -c 'import ssl; print(ssl.HAS_ALPN)' | ||
make depends | ||
python -c 'from OpenSSL import SSL; print(SSL.SSLeay_version(SSL.SSLEAY_VERSION))' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/bash | ||
|
||
PYENV_ROOT="$HOME/.pyenv" | ||
PATH="$PYENV_ROOT/bin:$PATH" | ||
eval "$(pyenv init -)" | ||
|
||
ENV=$HOME/env | ||
source $ENV/bin/activate | ||
|
||
make test | ||
make flake8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters