mirror of
https://github.com/vale981/emacs-jupyter
synced 2025-03-05 07:41:37 -05:00
.travis.yml: Fix core file generation on error
This commit is contained in:
parent
fdaf7719d8
commit
46ec412bfc
1 changed files with 3 additions and 1 deletions
|
@ -24,6 +24,8 @@ before_install:
|
|||
- curl -fsSL https://raw.githubusercontent.com/cask/cask/master/go | python
|
||||
install:
|
||||
- sudo apt-get install -y gdb
|
||||
- gdb --version
|
||||
- evm bin
|
||||
- sudo apt-get install -y python3 python3-pip &> /dev/null
|
||||
- sudo pip3 install --upgrade setuptools pip &> /dev/null
|
||||
# --ignore-installed six since jupyter tries to upgrade it, but it can't be
|
||||
|
@ -45,7 +47,7 @@ before_script:
|
|||
- ulimit -c unlimited -S
|
||||
after_failure:
|
||||
- COREFILE=$(find . -maxdepth 1 -name "core*" | head -n 1)
|
||||
- if [[ -f "$COREFILE" ]]; then gdb -c "$COREFILE" $(which emacs) -ex "thread apply all bt" -ex "set pagination 0" -batch; fi
|
||||
- if [[ -f "$COREFILE" ]]; then gdb -c "$COREFILE" $(evm bin) -ex "thread apply all bt" -ex "set pagination 0" -batch; fi
|
||||
script:
|
||||
- cd $TRAVIS_BUILD_DIR
|
||||
- make compile
|
||||
|
|
Loading…
Add table
Reference in a new issue