mirror of
https://github.com/vale981/emacs-jupyter
synced 2025-03-05 23:41:38 -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
|
- curl -fsSL https://raw.githubusercontent.com/cask/cask/master/go | python
|
||||||
install:
|
install:
|
||||||
- sudo apt-get install -y gdb
|
- sudo apt-get install -y gdb
|
||||||
|
- gdb --version
|
||||||
|
- evm bin
|
||||||
- sudo apt-get install -y python3 python3-pip &> /dev/null
|
- sudo apt-get install -y python3 python3-pip &> /dev/null
|
||||||
- sudo pip3 install --upgrade setuptools 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
|
# --ignore-installed six since jupyter tries to upgrade it, but it can't be
|
||||||
|
@ -45,7 +47,7 @@ before_script:
|
||||||
- ulimit -c unlimited -S
|
- ulimit -c unlimited -S
|
||||||
after_failure:
|
after_failure:
|
||||||
- COREFILE=$(find . -maxdepth 1 -name "core*" | head -n 1)
|
- 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:
|
script:
|
||||||
- cd $TRAVIS_BUILD_DIR
|
- cd $TRAVIS_BUILD_DIR
|
||||||
- make compile
|
- make compile
|
||||||
|
|
Loading…
Add table
Reference in a new issue