diff options
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..140b44dd --- /dev/null +++ b/.travis.yml @@ -0,0 +1,75 @@ +env: + global: + - REPO_DIR=protobuf + - BUILD_COMMIT=v3.5.1 + - PLAT=x86_64 + - UNICODE_WIDTH=32 + - WHEELHOUSE_UPLOADER_USERNAME=travis-worker + +language: python +# Default Python version is usually 2.7 +python: 3.5 +sudo: required +dist: trusty +services: docker + +matrix: + exclude: + # Exclude the default Python 3.5 build + - python: 3.5 + include: + - os: linux + env: MB_PYTHON_VERSION=2.7 + - os: linux + env: + - MB_PYTHON_VERSION=3.3 + - os: linux + env: + - MB_PYTHON_VERSION=3.4 + - os: linux + env: + - MB_PYTHON_VERSION=3.5 + - os: linux + env: + - MB_PYTHON_VERSION=3.6 + - os: osx + language: generic + env: + - MB_PYTHON_VERSION=2.7 + - os: osx + language: generic + env: + - MB_PYTHON_VERSION=3.3 + - os: osx + language: generic + env: + - MB_PYTHON_VERSION=3.4 + - os: osx + language: generic + env: + - MB_PYTHON_VERSION=3.5 + - os: osx + language: generic + env: + - MB_PYTHON_VERSION=3.6 + +before_install: + - source multibuild/common_utils.sh + - source multibuild/travis_steps.sh + - before_install + +install: + # Maybe get and clean and patch source + - clean_code $REPO_DIR $BUILD_COMMIT + - build_wheel $REPO_DIR $PLAT + +script: + - install_run $PLAT + +after_success: + # Upload wheels to Rackspace container + # - pip install wheelhouse-uploader + # - python -m wheelhouse_uploader upload --local-folder + # ${TRAVIS_BUILD_DIR}/wheelhouse/ + # --no-update-index + # wheels |