summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 33c20e70ed8eb12edfb6df29772db29fba51572e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
sudo: true
language: erlang
otp_release: 18.1
before_install:
  - sudo apt-get -y update
  - sudo apt-get -y install python-dev libffi-dev
  - sudo apt-get -y install bluez libbluetooth-dev lynx
before_script:
  - export PATH=$HOME/.local/bin:$PATH
  - pip install -r requirements.txt --user `whoami`
script: "make ci"
after_failure:
  - "echo 'logs/raw.log\n'"
  - "html2text logs/index.html"
  - "cat logs/raw.log"
  - "for f in `find logs/ct_run*/log*/ -type f`; do echo \"\n$f\n\" ; cat $f; done"
  - "for f in `ls -1 logs/ct_run*/*.rvi_core.logs/run*/rvi_core_suite*.html`; do echo \"\"; echo \"$f:\"; lynx -dump $f; done"
  - "for f in `ls logs/ct_run*/*/rvi/log/erlang.log.*`; do echo \"\"; echo \"$f:\"; echo \"\"; cat $f; done"
  - "for f in `ls logs/ct_run*/*/rvi/log/lager/crash.log`; do echo \"\"; echo \"$f:\"; echo \"\"; cat $f; done"
  - "for f in `ls logs/ct_run*/*/rvi/log/lager/error.log`; do echo \"\"; echo \"$f:\"; echo \"\"; cat $f; done"
  - "for f in `ls logs/ct_run*/*/rvi/log/lager/rvi_log.log`; do echo \"\"; echo \"$f:\"; echo \"\"; cat $f; done"