Skip to content

Commit

Permalink
Debug python3.
Browse files Browse the repository at this point in the history
# Delete this line to force CI to run Clippy and the Rust tests.
[ci skip-rust-tests]
# Delete this line to force CI to run the JVM tests.
[ci skip-jvm-tests]
  • Loading branch information
stuhood committed May 18, 2020
1 parent 0f49f4f commit 7db2f1b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1328,6 +1328,9 @@ jobs:
- '3.6'
- '3.7'
script:
- 'for p3 in `which -a python3`; do echo -n "$p3: "; $p3 -c ''import sysconfig;
shared = sysconfig.get_config_vars("Py_ENABLE_SHARED"); print(f">>> shared:
{shared}")''; done'
- ./build-support/bin/ci.py --rust-tests
- ./build-support/bin/release.sh -f
stage: Test Pants
Expand Down Expand Up @@ -1362,6 +1365,9 @@ jobs:
os: osx
osx_image: xcode8
script:
- 'for p3 in `which -a python3`; do echo -n "$p3: "; $p3 -c ''import sysconfig;
shared = sysconfig.get_config_vars("Py_ENABLE_SHARED"); print(f">>> shared:
{shared}")''; done'
- ./build-support/bin/ci.py --rust-tests
- ./build-support/bin/release.sh -f
stage: Test Pants
Expand Down
6 changes: 5 additions & 1 deletion build-support/bin/generate_travis_yml.py
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,11 @@ def integration_tests_v2(python_version: PythonVersion) -> Dict:
"before_script": ["ulimit -n 8192"],
# NB: We also build `fs_util` in this shard to leverage having had compiled the engine. This
# requires setting PREPARE_DEPLOY=1.
"script": ["./build-support/bin/ci.py --rust-tests", "./build-support/bin/release.sh -f"],
"script": [
"""for p3 in `which -a python3`; do echo -n "$p3: "; $p3 -c 'import sysconfig; shared = sysconfig.get_config_vars("Py_ENABLE_SHARED"); print(f">>> shared: {shared}")'; done""",
"./build-support/bin/ci.py --rust-tests",
"./build-support/bin/release.sh -f"
],
"if": SKIP_RUST_CONDITION,
}

Expand Down

0 comments on commit 7db2f1b

Please sign in to comment.