Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Commit

Permalink
Switch to xenial distributive
Browse files Browse the repository at this point in the history
  • Loading branch information
plastiv committed Feb 28, 2019
1 parent 7830270 commit 1c1acf1
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
dist: xenial

language: generic

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
Expand All @@ -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

0 comments on commit 1c1acf1

Please sign in to comment.