summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Ippolito <bob@redivi.com>2018-09-03 10:53:19 -0700
committerGitHub <noreply@github.com>2018-09-03 10:53:19 -0700
commit2ba490b151d4caeb0394d14bf579949591404751 (patch)
tree973964b84176e60f00d216419fa4dd4e278f68b4
parent543b4232813d3be2231124d27f7ae9b95be1beb6 (diff)
parent57ea0c5d23a6def78f35c039fb0b561bff3aaf61 (diff)
downloadsimplejson-2ba490b151d4caeb0394d14bf579949591404751.tar.gz
Merge pull request #231 from ushuz/manylinux1-wheels
Build manylinux1 wheels with cibuildwheel 0.9.4
-rw-r--r--.travis.yml6
-rwxr-xr-x.travis/install.sh4
-rwxr-xr-x.travis/run.sh4
3 files changed, 12 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 61c7fa0..cfd72b3 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -27,9 +27,11 @@ matrix:
python: '3.5'
- os: linux
dist: trusty
- sudo: false
+ sudo: required
+ services:
+ - docker
python: '3.6'
- env: BUILD_SDIST=true
+ env: BUILD_SDIST=true BUILD_WHEEL=true
- os: linux
sudo: false
python: pypy
diff --git a/.travis/install.sh b/.travis/install.sh
index 5b02cbc..cf056c9 100755
--- a/.travis/install.sh
+++ b/.travis/install.sh
@@ -21,3 +21,7 @@ if [[ $TRAVIS_OS_NAME == 'osx' ]]; then
pyenv install -s $PYENV_VERSION
pip install wheel
fi
+
+if [[ $BUILD_WHEEL == 'true' ]]; then
+ pip install wheel cibuildwheel==0.9.4
+fi
diff --git a/.travis/run.sh b/.travis/run.sh
index 6fa6b73..c3fa89c 100755
--- a/.travis/run.sh
+++ b/.travis/run.sh
@@ -17,6 +17,10 @@ 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