]> granicus.if.org Git - python/commitdiff
bpo-31568, Travis CI: Fix python3.5 (#3737)
authorVictor Stinner <victor.stinner@gmail.com>
Sun, 24 Sep 2017 22:45:00 +0000 (15:45 -0700)
committerlarryhastings <larry@hastings.org>
Sun, 24 Sep 2017 22:45:00 +0000 (15:45 -0700)
Works around Travis CI bug about the python3.5 binary:
https://github.com/travis-ci/travis-ci/issues/8363

.travis.yml

index eb98a657b27064c1db92c9160b011c015bad1f50..fed0052b54a6e020506e85d904af3a652a81eca2 100644 (file)
@@ -23,6 +23,9 @@ matrix:
       # compiler here and the other to run the coverage build. Clang is preferred
       # in this instance for its better error messages.
       env: TESTING=cpython
+      before_install:
+        # work around https://github.com/travis-ci/travis-ci/issues/8363
+        - pyenv global system 3.5
     - os: osx
       language: c
       compiler: clang