[Checkins] [zopefoundation/BTrees] 95e2fc: Always build manylinux wheels

Marius Gedminas noreply at github.com
Wed Nov 6 14:42:05 CET 2019


  Branch: refs/heads/restructure-travis
  Home:   https://github.com/zopefoundation/BTrees
  Commit: 95e2fc6beb241501f035caf1b76d364c5c68b0e7
      https://github.com/zopefoundation/BTrees/commit/95e2fc6beb241501f035caf1b76d364c5c68b0e7
  Author: Marius Gedminas <marius at gedmin.as>
  Date:   2019-11-06 (Wed, 06 Nov 2019)

  Changed paths:
    M .manylinux.sh
    M .travis.yml

  Log Message:
  -----------
  Always build manylinux wheels

This PR makes it so we _always_ build manylinux wheels, but only upload
them for git tags.

The diff is messy, for which I apologize.  I had to reformat the YAML to
understand it.  Highlights:

- Moved regular Linux Python builds outside build matrix, for
  conciseness (unfortunately this means 3.6 builds are now done twice:
  once without WITH_COVERAGE and once with)

- Move twine upload from .manylinux.sh into .travis.yml's after_success,
  next to the twine upload used for Mac OS builds

- This means Travis can no longer do an 'exit 0' in before_install, so I
  had to override the install and script sections too

- Move 'docker pull' into the install section so it's not so very empty

- Unify the two calls to twine upload to provide the twine password via
  environment variables instead of command-line or configuration files

- Put related commands inside a single multiline if statement instead of
  repeating the conditions




More information about the checkins mailing list