blob: c3fa89c7c1cec9488acdd142862eb5e4a7c06408 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#!/bin/bash
set -e
set -x
if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
PYENV_ROOT="$HOME/.pyenv-simplejson"
PATH="$PYENV_ROOT/bin:$PATH"
hash -r
eval "$(pyenv init -)"
fi
REQUIRE_SPEEDUPS=1 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
if [[ $BUILD_WHEEL == 'true' ]]; then
cibuildwheel --output-dir dist
fi
if [[ $BUILD_SDIST == 'true' ]]; then
python setup.py sdist
fi
|