Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CPython 3.6 builds #54

Merged
merged 3 commits into from
Mar 15, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,18 @@ env:
- BUILD_TYPE=linux PYTHON_VERSION=27 CONF=debug ARCH=x86_64
- BUILD_TYPE=linux PYTHON_VERSION=34 CONF=debug ARCH=x86_64
- BUILD_TYPE=linux PYTHON_VERSION=35 CONF=debug ARCH=x86_64
- BUILD_TYPE=linux PYTHON_VERSION=36 CONF=debug ARCH=x86_64
- BUILD_TYPE=linux PYTHON_VERSION=pypy2 CONF=debug ARCH=x86_64
- BUILD_TYPE=linux PYTHON_VERSION=27 CONF=release ARCH=x86_64
- BUILD_TYPE=linux PYTHON_VERSION=34 CONF=release ARCH=x86_64
- BUILD_TYPE=linux PYTHON_VERSION=35 CONF=release ARCH=x86_64
- BUILD_TYPE=linux PYTHON_VERSION=36 CONF=release ARCH=x86_64
- BUILD_TYPE=linux PYTHON_VERSION=pypy2 CONF=release ARCH=x86_64
- BUILD_TYPE=linux PYTHON_VERSION=27 CONF=coverage ARCH=x86_64
- BUILD_TYPE=manylinux PYTHON_VERSION=27 DOCKER_IMAGE=keyvidev/keyvi-manylinux-builder
- BUILD_TYPE=manylinux PYTHON_VERSION=34 DOCKER_IMAGE=keyvidev/keyvi-manylinux-builder
- BUILD_TYPE=manylinux PYTHON_VERSION=35 DOCKER_IMAGE=keyvidev/keyvi-manylinux-builder
- BUILD_TYPE=manylinux PYTHON_VERSION=36 DOCKER_IMAGE=keyvidev/keyvi-manylinux-builder
- BUILD_TYPE=sdist PYTHON_VERSION=27
- BUILD_TYPE=doc
global:
Expand All @@ -54,6 +57,10 @@ matrix:
osx_image: xcode7.3
compiler: clang
env: BUILD_TYPE=osx PYTHON_VERSION=35
- os: osx
osx_image: xcode7.3
compiler: clang
env: BUILD_TYPE=osx PYTHON_VERSION=36
# temporarily disabled pypy builds on osx
# till https://bitbucket.org/pypy/pypy/issues/2626/invalid-conversion-from-const-char-to-char is released
# - os: osx
Expand Down Expand Up @@ -109,7 +116,7 @@ script:
after_success:
- if [ "$CC" = "gcc-4.8" ] && [ "$CONF" = "coverage" ] && [ "$TRAVIS_REPO_SLUG" == "$GITHUB_REPO" ]; then ./travis/coverage.sh ; fi
- if [ "$CC" = "gcc-4.8" ] && [ "$CONF" = "coverage" ]; then ./travis/style.sh ; fi
- if [ "$BUILD_TYPE" == "doc" ] && [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then source ./travis/build_doc.sh ; fi
- if [ "$BUILD_TYPE" == "doc" ] && [ "$TRAVIS_REPO_SLUG" == "$GITHUB_REPO" ] && [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then source ./travis/build_doc.sh ; fi

deploy:
provider: script
Expand Down
3 changes: 3 additions & 0 deletions travis/build_manylinux_wheels.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ case "${PYTHON_VERSION}" in
35)
PYBIN=/opt/python/cp35-cp35m/bin
;;
36)
PYBIN=/opt/python/cp36-cp36m/bin
;;
pypy2)
echo "pypy2 is not support at the moment, see: https://github.com/pypa/manylinux/issues/38"
;;
Expand Down
4 changes: 4 additions & 0 deletions travis/setup_pyenv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ case "${PYTHON_VERSION}" in
pyenv install 3.5.2
pyenv global 3.5.2
;;
36)
pyenv install 3.6.4
pyenv global 3.6.4
;;
pypy2)
pyenv install pypy-5.3.1
pyenv global pypy-5.3.1
Expand Down