1. 16 3月, 2019 2 次提交
  2. 13 11月, 2018 1 次提交
  3. 15 6月, 2018 10 次提交
  4. 07 6月, 2018 2 次提交
  5. 05 6月, 2018 2 次提交
  6. 21 5月, 2018 1 次提交
  7. 14 5月, 2018 1 次提交
  8. 11 4月, 2018 1 次提交
    • D
      travis: skip builds on -maint branches · a3b1ee05
      Daniel P. Berrangé 提交于
      For patches pushed upstream we want builds run on master branch, but
      don't want them run on the -maint branches, as we are not keeping the
      .travis.yml file on stable branches updated wrt latest needs of travis
      CI platforms.
      
      We can't just whitelist 'master' though, because that will prevent
      developers triggering their own private travis builds. So we just
      blacklist *-maint, since developers will typically use named feature
      branches for any work.
      Reviewed-by: NPavel Hrdina <phrdina@redhat.com>
      Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
      a3b1ee05
  9. 20 3月, 2018 1 次提交
  10. 16 3月, 2018 1 次提交
  11. 15 3月, 2018 2 次提交
    • D
      travis: unlink python package before upgrading brew packages · 70713503
      Daniel P. Berrangé 提交于
      The 'brew upgrade' command is pulling in the python2 package which
      promptly fails due to clashing symlinks installed by the new python
      package (which is python3 based):
      
      ==> Pouring python@2-2.7.14_3.sierra.bottle.tar.gz
      Error: The `brew link` step did not complete successfully
      The formula built, but is not symlinked into /usr/local
      Could not symlink bin/2to3-2
      Target /usr/local/bin/2to3-2
      is a symlink belonging to python. You can unlink it:
        brew unlink python
      To force the link and overwrite all conflicting files:
        brew link --overwrite python@2
      To list all files that would be deleted:
        brew link --overwrite --dry-run python@2
      
      By running 'brew unlink python' we can get rid of the python3 links that
      we didn't want in the first place and avoid this error.
      
      This is the working fix for what we previously attempted todo in:
      
        commit c9c9fc90
        Author: Daniel P. Berrangé <berrange@redhat.com>
        Date:   Mon Mar 5 10:13:12 2018 +0000
      
          travis: force install of python2 into $PATH on macOS
      Reviewed-by: NAndrea Bolognani <abologna@redhat.com>
      Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
      70713503
    • D
      travis: move macOS before_install tasks into osx matrix entry · b94c9ea5
      Daniel P. Berrangé 提交于
      The list of commands we're running for the before_install task
      is rather large. We have it all on one line because we're
      wrapping it all in a test against TRAVIS_OS_NAME env variable.
      
      By moving it into the osx matrix entry we can remove the need
      for the conditional shell test. This lets us put each command
      on a separate line making the steps clear to understand.
      
      Fortunately the 'before_install' task does not have the crazy
      behaviour whereby travis ignores errors and runs all commands
      regardless, like the 'script' task does. The first command
      failing will cause an immediate stop with error status.
      Reviewed-by: NAndrea Bolognani <abologna@redhat.com>
      Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
      b94c9ea5
  12. 08 3月, 2018 1 次提交
  13. 05 3月, 2018 1 次提交
    • D
      travis: force install of python2 into $PATH on macOS · c9c9fc90
      Daniel P. Berrangé 提交于
      The homebrew formula's ignored Python PEP-0394 recommendations and
      changed the plain python binary in /usr/local/bin to point to Python 3
      instead of Python 2. Python 2 is not even installed into a location that
      is in $PATH by default anymore. The homebrew packages print a message
      to stderr claiming to provide a way to fix this
      
      [quote]
        This formula installs a python2 executable to /usr/local/opt/python@2/bin
      
        If you wish to have this formula's python executable in your PATH then add
      
        the following to ~/.bash_profile:
      
          export PATH="/usr/local/opt/python@2/libexec/bin:$PATH"
      [/quote]
      
      When trying to update $PATH are suggested we find out this message is a
      lie and /usr/local/opt/python@2 does not even exist, instead Python
      seems to end up in /usr/local/Cellar/python@2/2.7.14_1
      
      Rather than hardcoding this version specific directory in our travis
      config, we change to run "brew link --force python@2", to make it create
      symlinks in /usr/local/bin for the python2 binary.
      
      The original change triggering this problem was
      
        https://github.com/Homebrew/homebrew-core/pull/24604#issue-171653084
      
      There are countless bug reports against homebrew-core that are closed
      without fixes, so it seems they are determined to ignore the Python
      PEP 0394 recommendations on this.
      Reviewed-by: NAndrea Bolognani <abologna@redhat.com>
      Signed-off-by: NDaniel P. Berrangé <berrange@redhat.com>
      c9c9fc90
  14. 01 3月, 2018 4 次提交
  15. 12 1月, 2018 2 次提交
  16. 05 12月, 2017 2 次提交
  17. 19 9月, 2017 1 次提交
  18. 14 9月, 2017 5 次提交