blob: 4710a2d598b82d99322c8dde704985b63b5ecb6e [file] [log] [blame]
#!/bin/bash
set -e
set -x
if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
PYENV_ROOT="$HOME/.pyenv"
PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
fi
python setup.py build_ext -i
python -m compileall -f .
python setup.py test
if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
python setup.py bdist_wheel
fi