Skip to content

Commit

Permalink
Stop pulling down PEX
Browse files Browse the repository at this point in the history
Use the {osx,linux}_config images rather than {osx,linux}_test_config images.
  • Loading branch information
Eric-Arellano committed Feb 19, 2019
1 parent 513cd50 commit 0da5f91
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
10 changes: 6 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -391,15 +391,15 @@ py27_linux_build_wheels_no_ucs: &py27_linux_build_wheels_no_ucs
# Similar to the bootstrap shard, we build Linux wheels in a docker image to maximize
# compatibility. This is a Py2.7 shard, so it is not subject to #6985.
<<: *travis_docker_image
<<: *py27_linux_test_config
<<: *base_build_wheels

py27_linux_build_wheels_ucs2: &py27_linux_build_wheels_ucs2
<<: *py27_linux_config
<<: *py27_linux_build_wheels_no_ucs
<<: *native_engine_cache_config
name: "Build wheels - Linux and cp27m (UCS2)"
env:
- *py27_linux_test_config_env
- *py27_linux_config_env
- *base_build_wheels_env
- CACHE_NAME=linuxwheelsbuild.ucs2
script:
Expand All @@ -416,6 +416,7 @@ py27_linux_build_wheels_ucs2: &py27_linux_build_wheels_ucs2
sh -c "RUN_PANTS_FROM_PEX=0 ./build-support/bin/ci.sh -2b && RUN_PANTS_FROM_PEX=1 ./build-support/bin/release.sh -n"

py27_linux_build_wheels_ucs4: &py27_linux_build_wheels_ucs4
<<: *py27_linux_test_config
<<: *py27_linux_build_wheels_no_ucs
name: "Build wheels - Linux and cp27mu (UCS4)"
env:
Expand All @@ -431,11 +432,11 @@ py27_linux_build_wheels_ucs4: &py27_linux_build_wheels_ucs4
sh -c "RUN_PANTS_FROM_PEX=1 ./build-support/bin/release.sh -n"

py27_osx_build_wheels_no_ucs: &py27_osx_build_wheels_no_ucs
<<: *py27_osx_test_config
<<: *base_build_wheels
osx_image: xcode8

py27_osx_build_wheels_ucs2: &py27_osx_build_wheels_ucs2
<<: *py27_osx_test_config
<<: *py27_osx_build_wheels_no_ucs
name: "Build wheels - OSX and cp27m (UCS2)"
env:
Expand All @@ -446,6 +447,7 @@ py27_osx_build_wheels_ucs2: &py27_osx_build_wheels_ucs2
- ./build-support/bin/release.sh -n

py27_osx_build_wheels_ucs4: &py27_osx_build_wheels_ucs4
<<: *py27_osx_config
<<: *py27_osx_build_wheels_no_ucs
<<: *native_engine_cache_config
name: "Build wheels - OSX and cp27mu (UCS4)"
Expand All @@ -454,7 +456,7 @@ py27_osx_build_wheels_ucs4: &py27_osx_build_wheels_ucs4
packages:
- openssl
env:
- *py27_osx_test_config_env
- *py27_osx_config_env
- *base_build_wheels_env
- CACHE_NAME=osxwheelsbuild.ucs4
- PATH="/usr/local/opt/openssl/bin:$PATH" LDFLAGS="-L/usr/local/opt/openssl/lib" CPPFLAGS="-I/usr/local/opt/openssl/include" PYENV_ROOT="${HOME}/.pyenv" PATH="${PYENV_ROOT}/shims:${PATH}"
Expand Down
10 changes: 6 additions & 4 deletions build-support/travis/travis.yml.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -370,15 +370,15 @@ py27_linux_build_wheels_no_ucs: &py27_linux_build_wheels_no_ucs
# Similar to the bootstrap shard, we build Linux wheels in a docker image to maximize
# compatibility. This is a Py2.7 shard, so it is not subject to #6985.
<<: *travis_docker_image
<<: *py27_linux_test_config
<<: *base_build_wheels
py27_linux_build_wheels_ucs2: &py27_linux_build_wheels_ucs2
<<: *py27_linux_config
<<: *py27_linux_build_wheels_no_ucs
<<: *native_engine_cache_config
name: "Build wheels - Linux and cp27m (UCS2)"
env:
- *py27_linux_test_config_env
- *py27_linux_config_env
- *base_build_wheels_env
- CACHE_NAME=linuxwheelsbuild.ucs2
script:
Expand All @@ -395,6 +395,7 @@ py27_linux_build_wheels_ucs2: &py27_linux_build_wheels_ucs2
sh -c "RUN_PANTS_FROM_PEX=0 ./build-support/bin/ci.sh -2b && RUN_PANTS_FROM_PEX=1 ./build-support/bin/release.sh -n"
py27_linux_build_wheels_ucs4: &py27_linux_build_wheels_ucs4
<<: *py27_linux_test_config
<<: *py27_linux_build_wheels_no_ucs
name: "Build wheels - Linux and cp27mu (UCS4)"
env:
Expand All @@ -410,11 +411,11 @@ py27_linux_build_wheels_ucs4: &py27_linux_build_wheels_ucs4
sh -c "RUN_PANTS_FROM_PEX=1 ./build-support/bin/release.sh -n"
py27_osx_build_wheels_no_ucs: &py27_osx_build_wheels_no_ucs
<<: *py27_osx_test_config
<<: *base_build_wheels
osx_image: xcode8
py27_osx_build_wheels_ucs2: &py27_osx_build_wheels_ucs2
<<: *py27_osx_test_config
<<: *py27_osx_build_wheels_no_ucs
name: "Build wheels - OSX and cp27m (UCS2)"
env:
Expand All @@ -425,6 +426,7 @@ py27_osx_build_wheels_ucs2: &py27_osx_build_wheels_ucs2
- ./build-support/bin/release.sh -n
py27_osx_build_wheels_ucs4: &py27_osx_build_wheels_ucs4
<<: *py27_osx_config
<<: *py27_osx_build_wheels_no_ucs
<<: *native_engine_cache_config
name: "Build wheels - OSX and cp27mu (UCS4)"
Expand All @@ -433,7 +435,7 @@ py27_osx_build_wheels_ucs4: &py27_osx_build_wheels_ucs4
packages:
- openssl
env:
- *py27_osx_test_config_env
- *py27_osx_config_env
- *base_build_wheels_env
- CACHE_NAME=osxwheelsbuild.ucs4
- {{>env_osx_with_pyenv}}
Expand Down

0 comments on commit 0da5f91

Please sign in to comment.