language: c++
# command to install dependencies
before_install:
  - sudo add-apt-repository -y ppa:octave/stable
  - sudo apt-get update -qq
  - sudo apt-get install -y gdb # to capture backtrace of eventual failures
  - sudo apt-get install octave
  - sudo apt-get purge libopenblas-base # fixes PPA Octave 4.0 crash on Travis
before_script:
- ulimit -c unlimited -S                # enable core dumps for Octave crash debugging
script:
  - ./runtests.sh /usr/bin/octave
notifications:
  hipchat: f4c2c5f87adc85025545e5b59b3fbe@Matlab2tikz
after_failure:
- COREFILE=$(find . -maxdepth 1 -name "core*" | head -n 1) # find core file
- gdb -c "$COREFILE" -ex "thread apply all bt" -ex "set pagination 0" -batch /usr/bin/octave-cli # print stack trace

language: c++
before_install:
  - sudo add-apt-repository -y ppa:octave/stable
  - sudo apt-get update -qq
  - sudo apt-get install gdb # to capture backtrace of eventual failures
  - sudo apt-get install octave
  - sudo apt-get purge libopenblas-base # fixes PPA Octave 4.0 crash on Travis
before_script:
  - ulimit -c unlimited -S  # enable core dumps for Octave crash debugging
script:
  - ./runtests.sh /usr/bin/octave
notifications:
  hipchat: f4c2c5f87adc85025545e5b59b3fbe@Matlab2tikz
after_failure:
  - COREFILE=$(find . -maxdepth 1 -name "core*" | head -n 1) # find core file
  - gdb -c "$COREFILE" -ex "thread apply all bt" -ex "set pagination 0" -batch /usr/bin/octave-cli # print stack trace

Clean up Travis YAML file
Clean up Travis YAML file
