summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 9003a2f236b46c51eb96d44cbd1eb2e1974fc0c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
sudo: true
language: erlang
otp_release: R16B03-1
before_install:
  - sudo apt-get install python-dev libffi-dev
  - sudo apt-get 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*/*/log/erlang.log.*`; do echo \"\"; echo \"$f:\"; echo \"\"; cat $f; done"