language: generic

sudo: required

services:
  - docker

before_install:
  - docker info
  - docker build -t android-28 android-28/

script:
  - docker run -it --rm --volume=$(pwd)/android-28:/opt/workspace --entrypoint /opt/workspace/version-check.sh android-28

language: generic

sudo: required

services:
  - docker

before_install:
  - docker info
  - docker build -t android-28 android-28/

script:
  - docker run -it --rm --privileged --volume /dev/kvm:/dev/kvm --volume=$(pwd)/android-28:/opt/workspace --entrypoint /opt/workspace/version-check.sh android-28

Enable priviledged mode to pass nested kvm
Enable priviledged mode to pass nested kvm
