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:
18
.travis.yml
18
.travis.yml
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user