From 1c1acf1d8a5b483cae1605c42894f7a9f594f055 Mon Sep 17 00:00:00 2001 From: Sergii Pechenizkyi Date: Thu, 28 Feb 2019 21:02:30 +0100 Subject: [PATCH] Switch to xenial distributive --- .travis.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 5060eb4..9bbb23a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,5 @@ +dist: xenial + language: generic sudo: required @@ -5,6 +7,11 @@ sudo: required services: - docker +addons: + apt: + packages: + - docker-ce + env: # EMULATOR_API_LEVEL=14 x86 is not published. - EMULATOR_API_LEVEL=15 EMULATOR_ARCH=x86 @@ -23,7 +30,8 @@ env: - EMULATOR_API_LEVEL=28 EMULATOR_ARCH=x86_64 before_install: - - docker build --build-arg EMULATOR_API_LEVEL --build-arg EMULATOR_ARCH -t android-emulator-$EMULATOR_API_LEVEL android-emulator/ + - docker info script: + - docker build --build-arg EMULATOR_API_LEVEL --build-arg EMULATOR_ARCH -t android-emulator-$EMULATOR_API_LEVEL android-emulator/ - docker run -it --rm --env EMULATOR_API_LEVEL --volume=$(pwd)/android-emulator:/opt/workspace --entrypoint /opt/workspace/start-emulator.sh android-emulator-$EMULATOR_API_LEVEL