Skip to content

Commit

Permalink
Switch back to daily CI being Py37
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric-Arellano authored and asherf committed Jan 15, 2021
1 parent a2c0aeb commit 1f3d00a
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
28 changes: 14 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
--pex-key ${BOOTSTRAPPED_PEX_KEY_PREFIX}.${BOOTSTRAPPED_PEX_KEY_SUFFIX}"
services:
- docker
stage: Bootstrap Pants (Cron)
stage: Bootstrap Pants
- addons:
apt:
packages:
Expand Down Expand Up @@ -188,7 +188,7 @@ jobs:
--pex-key ${BOOTSTRAPPED_PEX_KEY_PREFIX}.${BOOTSTRAPPED_PEX_KEY_SUFFIX}"
services:
- docker
stage: Bootstrap Pants
stage: Bootstrap Pants (Cron)
- after_failure:
- ./build-support/bin/ci-failure.sh
before_cache:
Expand Down Expand Up @@ -233,7 +233,7 @@ jobs:
- ./build-support/bin/bootstrap_and_deploy_ci_pants_pex.py --python-version 3.7
--aws-bucket ${AWS_BUCKET} --native-engine-so-key-prefix ${NATIVE_ENGINE_SO_KEY_PREFIX}
--pex-key ${BOOTSTRAPPED_PEX_KEY_PREFIX}.${BOOTSTRAPPED_PEX_KEY_SUFFIX}
stage: Bootstrap Pants (Cron)
stage: Bootstrap Pants
- after_failure:
- ./build-support/bin/ci-failure.sh
before_cache:
Expand Down Expand Up @@ -323,7 +323,7 @@ jobs:
- ./build-support/bin/bootstrap_and_deploy_ci_pants_pex.py --python-version 3.9
--aws-bucket ${AWS_BUCKET} --native-engine-so-key-prefix ${NATIVE_ENGINE_SO_KEY_PREFIX}
--pex-key ${BOOTSTRAPPED_PEX_KEY_PREFIX}.${BOOTSTRAPPED_PEX_KEY_SUFFIX}
stage: Bootstrap Pants
stage: Bootstrap Pants (Cron)
- addons:
apt:
packages:
Expand Down Expand Up @@ -372,7 +372,7 @@ jobs:
- source ${HOME}/.cargo/env
- travis-wait-enhanced --timeout 50m --interval 9m -- ./build-support/bin/ci.py
--githooks --smoke-tests --lint --python-version 3.7
stage: Test Pants (Cron)
stage: Test Pants
- addons:
apt:
packages:
Expand Down Expand Up @@ -470,7 +470,7 @@ jobs:
- source ${HOME}/.cargo/env
- travis-wait-enhanced --timeout 50m --interval 9m -- ./build-support/bin/ci.py
--githooks --smoke-tests --lint --python-version 3.9
stage: Test Pants
stage: Test Pants (Cron)
- before_cache:
- sudo chown -R travis:travis "${HOME}" "${TRAVIS_BUILD_DIR}"
- find build-support -name "*.py[co]" -delete
Expand Down Expand Up @@ -587,7 +587,7 @@ jobs:
script:
- travis-wait-enhanced --timeout 65m --interval 9m -- ./build-support/bin/ci.py
--unit-tests --integration-tests --python-version 3.7
stage: Test Pants (Cron)
stage: Test Pants
- addons:
apt:
packages:
Expand Down Expand Up @@ -683,7 +683,7 @@ jobs:
script:
- travis-wait-enhanced --timeout 65m --interval 9m -- ./build-support/bin/ci.py
--unit-tests --integration-tests --python-version 3.9
stage: Test Pants
stage: Test Pants (Cron)
- before_cache:
- sudo chown -R travis:travis "${HOME}" "${TRAVIS_BUILD_DIR}"
- find build-support -name "*.py[co]" -delete
Expand Down Expand Up @@ -885,7 +885,7 @@ jobs:
os: osx
script:
- ./build-support/bin/ci.py --platform-specific-tests --python-version 3.7
stage: Test Pants (Cron)
stage: Test Pants
- before_install:
- curl -L https://github.com/stedolan/jq/releases/download/jq-1.5/jq-osx-amd64
-o /usr/local/bin/jq
Expand Down Expand Up @@ -935,7 +935,7 @@ jobs:
os: osx
script:
- ./build-support/bin/ci.py --platform-specific-tests --python-version 3.9
stage: Test Pants
stage: Test Pants (Cron)
- before_install:
- curl -L https://github.com/stedolan/jq/releases/download/jq-1.5/jq-osx-amd64
-o /usr/local/bin/jq
Expand All @@ -961,7 +961,7 @@ jobs:
osx_image: xcode9.2
script:
- MODE=debug ./build-support/bin/ci.py --smoke-tests --python-version 3.7
stage: Test Pants (Cron)
stage: Test Pants
- before_install:
- curl -L https://github.com/stedolan/jq/releases/download/jq-1.5/jq-osx-amd64
-o /usr/local/bin/jq
Expand Down Expand Up @@ -1013,7 +1013,7 @@ jobs:
osx_image: xcode9.2
script:
- MODE=debug ./build-support/bin/ci.py --smoke-tests --python-version 3.9
stage: Test Pants
stage: Test Pants (Cron)
- before_install:
- curl -L https://github.com/stedolan/jq/releases/download/jq-1.5/jq-osx-amd64
-o /usr/local/bin/jq
Expand All @@ -1039,7 +1039,7 @@ jobs:
osx_image: xcode10.1
script:
- MODE=debug ./build-support/bin/ci.py --smoke-tests --python-version 3.7
stage: Test Pants (Cron)
stage: Test Pants
- before_install:
- curl -L https://github.com/stedolan/jq/releases/download/jq-1.5/jq-osx-amd64
-o /usr/local/bin/jq
Expand Down Expand Up @@ -1091,7 +1091,7 @@ jobs:
osx_image: xcode10.1
script:
- MODE=debug ./build-support/bin/ci.py --smoke-tests --python-version 3.9
stage: Test Pants
stage: Test Pants (Cron)
- addons:
apt:
packages:
Expand Down
6 changes: 3 additions & 3 deletions build-support/bin/generate_travis_yml.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,13 +131,13 @@ def decimal(self) -> float:
def default_stage(self, *, is_bootstrap: bool = False) -> Stage:
if is_bootstrap:
return {
self.py37: Stage.bootstrap_cron,
self.py37: Stage.bootstrap,
self.py38: Stage.bootstrap_cron,
self.py39: Stage.bootstrap,
self.py39: Stage.bootstrap_cron,
}[
self # type: ignore[index]
]
return {self.py37: Stage.test_cron, self.py38: Stage.test_cron, self.py39: Stage.test}[
return {self.py37: Stage.test, self.py38: Stage.test_cron, self.py39: Stage.test_cron}[
self # type: ignore[index]
]

Expand Down

0 comments on commit 1f3d00a

Please sign in to comment.