forked from qca/boardfarm
-
Notifications
You must be signed in to change notification settings - Fork 8
/
.travis.yml
38 lines (38 loc) · 1.21 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
---
dist: trusty
sudo: required
language: python
python:
- '3.6'
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 python3-tk
- sudo apt-get install -y libsnmp-dev snmp-mibs-downloader
- pip install -e .
script:
- ./bft -l
- ./bft -i
- docker build -t bft:node boardfarm/bft-node
- >-
yes | ./bft -b qemux86-openwrt -r
https://www.dropbox.com/s/ak58icpzta1f0if/openwrt-x86-generic-combined-ext4.vmdk?dl=0
-y -x travisci
- grep tests_fail...0, results/test_results.json
- cat results/all.log
after_failure:
- >-
yes | BFT_DEBUG=y ./bft -b qemux86-openwrt -r
https://www.dropbox.com/s/ak58icpzta1f0if/openwrt-x86-generic-combined-ext4.vmdk?dl=0
-y -x travisci
- cat results/all.log