Skip to content

Attempt to get a backtrace out of crash on MacOS #582

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
40 changes: 15 additions & 25 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -4,37 +4,27 @@ dist: trusty

matrix:
include:
- python: 3.6
env: CHECK_DOCS=1
- python: 3.6
env: CHECK_FORMATTING=1
# The pypy tests are slow, so we list them first
- python: pypy3.5
- language: generic
env: USE_PYPY_NIGHTLY=1
- python: 3.5.0
- python: 3.5.2
- python: 3.6
- python: 3.7
dist: xenial
sudo: required
- python: 3.5-dev
- python: 3.6-dev
- python: 3.7-dev
dist: xenial
sudo: required
- python: 3.8-dev
dist: xenial
sudo: required
- os: osx
language: generic
env: MACPYTHON=3.5.4
env: MACPYTHON=3.6.0
- os: osx
language: generic
env: MACPYTHON=3.6.6
env: MACPYTHON=3.6.1
- os: osx
language: generic
env: MACPYTHON=3.7.0
env: MACPYTHON=3.6.2
- os: osx
language: generic
env: MACPYTHON=3.6.1
- os: osx
language: generic
env: MACPYTHON=3.6.2
- os: osx
language: generic
env: MACPYTHON=3.6.3
- os: osx
language: generic
env: MACPYTHON=3.6.3

script:
- ci/travis.sh
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
def configs = [
[
label: 'sierra',
// pyversions: ['python3.5', 'python3.6'],
pyversions: ['python3.5'],
pyversions: ['python3.5', 'python3.6', 'python3.7'],
],
]

@@ -53,6 +52,7 @@ def build(pyversion, label) {
export PATH="/usr/local/bin:\${PATH}"
export PATH="/Library/Frameworks/Python.framework/Versions/3.5/bin:\${PATH}"
export PATH="/Library/Frameworks/Python.framework/Versions/3.6/bin:\${PATH}"
export PATH="/Library/Frameworks/Python.framework/Versions/3.7/bin:\${PATH}"

# Workaround for https://github.com/pypa/pip/issues/5345
# See also:
4 changes: 3 additions & 1 deletion ci/travis.sh
Original file line number Diff line number Diff line change
@@ -96,7 +96,9 @@ else
cd empty

INSTALLDIR=$(python -c "import os, trio; print(os.path.dirname(trio.__file__))")
pytest -W error -ra --run-slow --faulthandler-timeout=60 ${INSTALLDIR} --cov="$INSTALLDIR" --cov-config=../.coveragerc --verbose
pip install immutables==0.6
#lldb --batch -o run -k "bt all" -k continue -- python -m pytest -W error -ra --run-slow --faulthandler-timeout=60 ${INSTALLDIR} --cov="$INSTALLDIR" --cov-config=../.coveragerc --verbose
python -m pytest -W error -ra --run-slow --faulthandler-timeout=60 ${INSTALLDIR} --cov="$INSTALLDIR" --cov-config=../.coveragerc --verbose

coverage combine
bash <(curl -s https://codecov.io/bash)