Check Android build on travis

This commit is contained in:
Pierre Krieger 2017-07-25 09:50:40 +02:00
parent cc89d56e43
commit a15b818827

View file

@ -1,3 +1,8 @@
sudo: required
services:
- docker
language: rust language: rust
rust: rust:
@ -21,6 +26,7 @@ script:
- cargo build --verbose - cargo build --verbose
- if [ $TRAVIS_OS_NAME = osx ]; then cargo build --target x86_64-apple-ios --verbose; fi - if [ $TRAVIS_OS_NAME = osx ]; then cargo build --target x86_64-apple-ios --verbose; fi
- cargo test --verbose - cargo test --verbose
- docker run --rm -v "$(pwd):/root/src" -w /root/src tomaka/cargo-apk cargo apk build --verbose
os: os:
- linux - linux