1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-13 00:08:24 +00:00
Files
samples/.travis.yml
2020-01-06 13:41:33 -08:00

49 lines
756 B
YAML

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]