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

Travis docker, CPython 3.7 #95

Merged
merged 16 commits into from Aug 30, 2018
Merged

Travis docker, CPython 3.7 #95

merged 16 commits into from Aug 30, 2018

Conversation

narekgharibyan
Copy link
Member

This PR implements use of new keyvi-ubuntu-builder docker image on Travis-CI.

This migration provides following advantages:

  • builds and releases for cpython3.7 and pypy2 (added back)
  • using Ubuntu 16.04 LTS instead of 14.04 LTS
  • possibility to debug everything locally by using same docker image
  • reduced summarized build time from 5h20min to 3h45min

.travis.yml Outdated
- BUILD_TYPE=sdist PYTHON_VERSION=27
- BUILD_TYPE=doc
- BUILD_TYPE=rust
- BUILD_TYPE=linux DOCKER_IMAGE=narekgharibyan/keyvi-ubuntu-builder CONF=release
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I created a keyvi-ubuntu-builder under keyvidev and added you as collaborator

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

.travis.yml Outdated
- BUILD_TYPE=python DOCKER_IMAGE=narekgharibyan/keyvi-ubuntu-builder PYTHON_VERSION=3.7.0 CONF=release
- BUILD_TYPE=python DOCKER_IMAGE=narekgharibyan/keyvi-ubuntu-builder PYTHON_VERSION=pypy2.7-6.0.0 CONF=release

- BUILD_TYPE=python DOCKER_IMAGE=narekgharibyan/keyvi-ubuntu-builder PYTHON_VERSION=2.7.15 CONF=debug
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it somehow possible to pick the latest major.minor? 2.7 in this case?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems there is not out of box way of doing that, we will need to implement some script to list available versions and then picking up the latest one.

Copy link
Contributor

@hendrikmuhs hendrikmuhs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@narekgharibyan narekgharibyan merged commit 8b19bf2 into master Aug 30, 2018
@narekgharibyan narekgharibyan deleted the travis_docker branch August 30, 2018 07:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants