forked from mattsm/boardfarm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
19 lines (19 loc) · 1.17 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
sudo: required
language: python
python:
- "2.7"
before_install:
- sudo apt-get -qq update
- sudo apt-get remove docker docker-engine docker.io
- sudo apt-get install apt-transport-https ca-certificates curl software-properties-common
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
- sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
- sudo apt-get -qq update
- sudo apt-get install -y qemu-system-x86 docker-ce
script:
- ./bft -l
- ./bft -i
- yes | ./bft -b qemux86 -r https://autobuilder.yocto.io/pub/releases/yocto-2.4.2/machines/genericx86/core-image-minimal-genericx86.wic -k https://autobuilder.yocto.io/pub/releases/yocto-2.4.2/machines/genericx86/bzImage-genericx86.bin -z -y
- grep tests_fail...0, results/test_results.json
after_failure:
- yes | BFT_DEBUG=y ./bft -b qemux86 -r https://autobuilder.yocto.io/pub/releases/yocto-2.4.2/machines/genericx86/core-image-minimal-genericx86.wic -k https://autobuilder.yocto.io/pub/releases/yocto-2.4.2/machines/genericx86/bzImage-genericx86.bin -z -y