add a make_tox.sh script, so i can set paths for pyenv

This commit is contained in:
Tyrel Souza 2016-05-24 15:46:45 -04:00
parent c8c7f39b56
commit d07ba7c0bf
No known key found for this signature in database
GPG Key ID: 2EECB5087209E6A5
3 changed files with 20 additions and 5 deletions

View File

@ -1,5 +1,13 @@
init:
pip install -r requirements.txt
clean:
find celigo -name \*.pyc -delete
find celigo -name \*__pycache__ -delete
rm -rf build-*
rm -rf *egg*
rm -rf dist
test:
tox
tox:
./make_tox.sh
test-all: tox
all: clean test-all

7
make_tox.sh Executable file
View File

@ -0,0 +1,7 @@
#!/usr/bin/bash
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
pyenv shell 2.7.11 3.3.6 3.4.4 3.5.1 pypy-5.0.0
pyenv rehash
tox

View File

@ -1,5 +1,5 @@
[tox]
envlist = py27,py33,py34,py35,pypy
envlist = py27,py33,py34,py35,pypy-5.0.0
[testenv]
deps=