removing pycrypto hard dep

This commit is contained in:
niphlod
2016-10-04 00:11:54 +02:00
parent 4f68c418f8
commit bcc237ead8
13 changed files with 1390 additions and 588 deletions
+2 -18
View File
@@ -2,9 +2,7 @@ language: python
sudo: false
cache:
directories:
- $HOME/.pip-cache/
cache: pip
python:
- '2.7'
@@ -12,21 +10,7 @@ python:
- '3.5'
install:
- |
if [ "$TRAVIS_PYTHON_VERSION" = "pypy" ]; then
export PYENV_ROOT="$HOME/.pyenv"
if [ -f "$PYENV_ROOT/bin/pyenv" ]; then
pushd "$PYENV_ROOT" && git pull && popd
else
rm -rf "$PYENV_ROOT" && git clone --depth 1 https://github.com/yyuu/pyenv.git "$PYENV_ROOT"
fi
export PYPY_VERSION="5.0.1"
"$PYENV_ROOT/bin/pyenv" install --skip-existing "pypy-$PYPY_VERSION"
virtualenv --python="$PYENV_ROOT/versions/pypy-$PYPY_VERSION/bin/python" "$HOME/virtualenvs/pypy-$PYPY_VERSION"
source "$HOME/virtualenvs/pypy-$PYPY_VERSION/bin/activate"
fi
- if [[ $TRAVIS_PYTHON_VERSION == '3.5' ]]; then pip install pycrypto pg8000; fi;
- if [[ $TRAVIS_PYTHON_VERSION != '3.5' ]]; then pip install -e .; fi;
- pip install -e .
before_script:
- pip install coverage