1
0
mirror of https://github.com/flutter/samples.git synced 2026-03-30 16:23:23 +00:00

Configuring travis to build Android. (#206)

This commit is contained in:
Andrew Brogdon
2020-01-06 13:41:33 -08:00
committed by GitHub
parent 4a01a6570e
commit 233eb462d4
9 changed files with 90 additions and 22 deletions

View File

@@ -1,6 +1,8 @@
os:
- linux
sudo: false
dist: trusty
language: android
addons:
apt:
sources:
@@ -8,23 +10,35 @@ addons:
packages:
- libstdc++6
- fonts-noto
git:
depth: 3
android:
components:
- build-tools-28.0.3
- android-28
env:
- FLUTTER_VERSION=stable
- FLUTTER_VERSION=beta
matrix:
jobs:
allow_failures:
- env: FLUTTER_VERSION=beta
before_script:
- git clone https://github.com/flutter/flutter.git -b $FLUTTER_VERSION
- ./flutter/bin/flutter doctor
- chmod +x travis_script.sh
script:
- ./travis_script.sh
cache:
directories:
- $HOME/shared/.pub-cache
notifications:
email:
brogdon+github@gmail.com