From f7026a142cae9e6775c9b5bff0eb2de85ee7233d Mon Sep 17 00:00:00 2001 From: John Sirois Date: Mon, 6 Jul 2020 10:29:07 -0600 Subject: [PATCH] Remove un-needed shard setup. --- .travis.yml | 53 ------------------------ build-support/bin/generate_travis_yml.py | 4 +- 2 files changed, 3 insertions(+), 54 deletions(-) diff --git a/.travis.yml b/.travis.yml index a68379cddb6..72136e5d461 100644 --- a/.travis.yml +++ b/.travis.yml @@ -47,37 +47,11 @@ jobs: - shellcheck after_failure: - ./build-support/bin/ci-failure.sh - before_cache: - - sudo chown -R travis:travis "${HOME}" "${TRAVIS_BUILD_DIR}" - - find ${HOME}/.ivy2/pants -type f -name "ivydata-*.properties" -delete - - rm -f ${HOME}/.ivy2/pants/*.{css,properties,xml,xsl} - - rm -rf ${HOME}/.ivy2/pants/com.example - - du -m -d2 ${HOME}/.cache/pants | sort -r -n - - ./build-support/bin/prune_travis_cache.sh before_install: - - PATH="/usr/lib/jvm/java-8-openjdk-amd64/jre/bin":$PATH - - JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 - - sudo sysctl fs.inotify.max_user_watches=524288 - ./build-support/bin/install_aws_cli_for_ci.sh - pyenv global 2.7.15 3.6.7 3.7.1 - - wget -qO- "https://github.com/crazy-max/travis-wait-enhanced/releases/download/v0.2.1/travis-wait-enhanced_0.2.1_linux_x86_64.tar.gz" - | tar -zxvf - travis-wait-enhanced - - mv travis-wait-enhanced /home/travis/bin/ - before_script: - - ./build-support/bin/get_ci_bootstrapped_pants_pex.sh ${AWS_BUCKET} ${BOOTSTRAPPED_PEX_KEY_PREFIX}.${BOOTSTRAPPED_PEX_KEY_SUFFIX} - cache: - directories: - - ${AWS_CLI_ROOT} - - ${PYENV_ROOT_OSX} - - ${HOME}/.cache/pants/tools - - ${HOME}/.cache/pants/zinc - - ${HOME}/.ivy2/pants - - ${HOME}/.npm - timeout: 500 dist: xenial env: - - BOOTSTRAPPED_PEX_KEY_SUFFIX=py36.linux - - PANTS_REMOTE_CA_CERTS_PATH=/usr/lib/google-cloud-sdk/lib/third_party/grpc/_cython/_credentials/roots.pem - CACHE_NAME=integration.v2.py36 language: python name: Integration tests - V2 (Python 3.6) @@ -109,38 +83,11 @@ jobs: - shellcheck after_failure: - ./build-support/bin/ci-failure.sh - before_cache: - - sudo chown -R travis:travis "${HOME}" "${TRAVIS_BUILD_DIR}" - - find ${HOME}/.ivy2/pants -type f -name "ivydata-*.properties" -delete - - rm -f ${HOME}/.ivy2/pants/*.{css,properties,xml,xsl} - - rm -rf ${HOME}/.ivy2/pants/com.example - - du -m -d2 ${HOME}/.cache/pants | sort -r -n - - ./build-support/bin/prune_travis_cache.sh before_install: - - PATH="/usr/lib/jvm/java-8-openjdk-amd64/jre/bin":$PATH - - JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 - - sudo sysctl fs.inotify.max_user_watches=524288 - ./build-support/bin/install_aws_cli_for_ci.sh - pyenv global 2.7.15 3.6.7 3.7.1 - - wget -qO- "https://github.com/crazy-max/travis-wait-enhanced/releases/download/v0.2.1/travis-wait-enhanced_0.2.1_linux_x86_64.tar.gz" - | tar -zxvf - travis-wait-enhanced - - mv travis-wait-enhanced /home/travis/bin/ - before_script: - - ./build-support/bin/get_ci_bootstrapped_pants_pex.sh ${AWS_BUCKET} ${BOOTSTRAPPED_PEX_KEY_PREFIX}.${BOOTSTRAPPED_PEX_KEY_SUFFIX} - cache: - directories: - - ${AWS_CLI_ROOT} - - ${PYENV_ROOT_OSX} - - ${HOME}/.cache/pants/tools - - ${HOME}/.cache/pants/zinc - - ${HOME}/.ivy2/pants - - ${HOME}/.npm - timeout: 500 dist: xenial env: - - BOOTSTRAPPED_PEX_KEY_SUFFIX=py37.linux - - PANTS_REMOTE_CA_CERTS_PATH=/usr/lib/google-cloud-sdk/lib/third_party/grpc/_cython/_credentials/roots.pem - - PANTS_NATIVE_BUILD_STEP_CPP_COMPILE_SETTINGS_DEFAULT_COMPILER_OPTION_SETS="[]" - CACHE_NAME=integration.v2.py37 language: python name: Integration tests - V2 (Python 3.7) diff --git a/build-support/bin/generate_travis_yml.py b/build-support/bin/generate_travis_yml.py index 29d8ea46e7a..109bdad72bf 100644 --- a/build-support/bin/generate_travis_yml.py +++ b/build-support/bin/generate_travis_yml.py @@ -617,7 +617,9 @@ def build_wheels_osx() -> Dict: def integration_tests(python_version: PythonVersion) -> Dict: shard = { - **linux_shard(python_version=python_version, install_travis_wait=True), + **linux_shard( + load_test_config=False, python_version=python_version, install_travis_wait=False + ), "name": f"Integration tests - V2 (Python {python_version.decimal})", "script": [ "pyenv global",