mirror of https://github.com/flutter/samples.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
756 B
49 lines
756 B
os:
|
|
- linux
|
|
dist: trusty
|
|
language: android
|
|
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- ubuntu-toolchain-r-test
|
|
packages:
|
|
- libstdc++6
|
|
- fonts-noto
|
|
|
|
git:
|
|
depth: 3
|
|
|
|
android:
|
|
components:
|
|
- build-tools-28.0.3
|
|
- android-28
|
|
|
|
env:
|
|
- FLUTTER_VERSION=stable
|
|
- FLUTTER_VERSION=beta
|
|
|
|
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
|
|
|
|
# Only building master means that we don't run two builds for each pull request.
|
|
branches:
|
|
only: [master]
|