acrn-hypervisor/.travis.yml

39 lines
1.0 KiB
YAML

sudo: required
language: c
env:
global:
- OS_TESTED_CL="clearlinux"
- OS_TESTED_UBUNTU="ubuntu16.04"
- OS_TESTED_FEDORA="fedora28"
matrix:
- RELEASE=0
PLATFORM=sbl
- RELEASE=1
PLATFORM=sbl
- RELEASE=0
PLATFORM=uefi
- RELEASE=1
PLATFORM=uefi
services:
- docker
before_install:
- docker build -t ${OS_TESTED_CL} -f .travis-dockerfiles/Dockerfile.${OS_TESTED_CL} .
- docker build -t ${OS_TESTED_UBUNTU} -f .travis-dockerfiles/Dockerfile.${OS_TESTED_UBUNTU} .
- docker build -t ${OS_TESTED_FEDORA} -f .travis-dockerfiles/Dockerfile.${OS_TESTED_FEDORA} .
- docker images
install: true
script:
- docker run -v $PWD:/root/acrn ${OS_TESTED_CL} /bin/bash -c "make clean && make PLATFORM=$PLATFORM RELEASE=$RELEASE"
- docker run -v $PWD:/root/acrn ${OS_TESTED_UBUNTU} /bin/bash -c "make clean && make PLATFORM=$PLATFORM RELEASE=$RELEASE"
- docker run -v $PWD:/root/acrn ${OS_TESTED_FEDORA} /bin/bash -c "make clean && make PLATFORM=$PLATFORM RELEASE=$RELEASE"