From a15b8188276a5400c64e0decf33e1863ca471413 Mon Sep 17 00:00:00 2001 From: Pierre Krieger Date: Tue, 25 Jul 2017 09:50:40 +0200 Subject: [PATCH] Check Android build on travis --- .travis.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.travis.yml b/.travis.yml index 9fe67531..11a59cea 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,8 @@ +sudo: required + +services: + - docker + language: rust rust: @@ -21,6 +26,7 @@ script: - cargo build --verbose - if [ $TRAVIS_OS_NAME = osx ]; then cargo build --target x86_64-apple-ios --verbose; fi - cargo test --verbose + - docker run --rm -v "$(pwd):/root/src" -w /root/src tomaka/cargo-apk cargo apk build --verbose os: - linux